Summary: | Kate snippets suggestion missing in Plasma 6 | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | mitlaw2004 |
Component: | plugin-snippets | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | waqar.17a |
Priority: | NOR | ||
Version First Reported In: | 24.08.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/utilities/kate/-/commit/3a9e858c71cbd8a5021e73cb86fc52a7e5fa2b15 | Version Fixed In: | |
Sentry Crash Report: |
Description
mitlaw2004
2024-10-27 07:32:22 UTC
regressed due to https://bugs.kde.org/show_bug.cgi?id=462383 A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/1644 Git commit a8463f8761d35701803367c38b416dbb724e015e by Christoph Cullmann, on behalf of Waqar Ahmed. Committed on 09/11/2024 at 13:11. Pushed by cullmann into branch 'master'. Fix snippets not working unless completion is hard invoked They should not be completely disabled unless someone hard presses ctrl-space as it makes the experience very annoying. Overtime one can get used to the annoyance but I am not sure its a good idea. The new logic honors ktexteditor minimal word length and starts the completion if the last char is a letter. This should avoid the issue with snippet completion starting on pressing `.`. However, this might still be too simplistic but we can refine on it instead of hard disabling the feature Related: bug 462383 M +14 -8 addons/snippets/snippetcompletionmodel.cpp https://invent.kde.org/utilities/kate/-/commit/a8463f8761d35701803367c38b416dbb724e015e Git commit 3a9e858c71cbd8a5021e73cb86fc52a7e5fa2b15 by Waqar Ahmed. Committed on 17/11/2024 at 08:02. Pushed by waqar into branch 'release/24.12'. Fix snippets not working unless completion is hard invoked They should not be completely disabled unless someone hard presses ctrl-space as it makes the experience very annoying. Overtime one can get used to the annoyance but I am not sure its a good idea. The new logic honors ktexteditor minimal word length and starts the completion if the last char is a letter. This should avoid the issue with snippet completion starting on pressing `.`. However, this might still be too simplistic but we can refine on it instead of hard disabling the feature Related: bug 462383 (cherry picked from commit a8463f8761d35701803367c38b416dbb724e015e) M +14 -8 addons/snippets/snippetcompletionmodel.cpp https://invent.kde.org/utilities/kate/-/commit/3a9e858c71cbd8a5021e73cb86fc52a7e5fa2b15 |