Bug 470494 - auto-complete: length for world is configurable but tag is allways 4
Summary: auto-complete: length for world is configurable but tag is allways 4
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Other
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-31 15:50 UTC by veupragacosei-9670
Modified: 2023-07-01 14:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description veupragacosei-9670 2023-05-31 15:50:08 UTC
SUMMARY

The number of "minimal word length to auto-complete" (by word) work for name, like name of variable. We can autocomplete name with only write 2 character for exemple. Its cool.

But the tag  word auto-complete is allways 4 (exept we use the shortcut Ctrl+Espace)
Its can be good to give a parameter to change this number too.

Best regard.
Comment 1 veupragacosei-9670 2023-06-01 09:00:45 UTC
maybe in the file: kate-master\addons\project\kateprojectcompletion.cpp
Comment 2 Christoph Cullmann 2023-07-01 14:11:47 UTC
Will export the needed config and use that.
Comment 3 Christoph Cullmann 2023-07-01 14:17:44 UTC
Git commit 60933fb3048d444660ca77fa5a8d91efde635da2 by Christoph Cullmann.
Committed on 01/07/2023 at 14:17.
Pushed by cullmann into branch 'master'.

export word-completion-minimal-word-length

M  +2    -1    src/include/ktexteditor/view.h
M  +7    -3    src/utils/kateconfig.cpp

https://invent.kde.org/frameworks/ktexteditor/-/commit/60933fb3048d444660ca77fa5a8d91efde635da2
Comment 4 Christoph Cullmann 2023-07-01 14:28:40 UTC
Git commit cd8eb248c50d6802eb4616f5df264d3286b57997 by Christoph Cullmann.
Committed on 01/07/2023 at 14:28.
Pushed by cullmann into branch 'master'.

use word-completion-minimal-word-length as configured

M  +23   -4    addons/project/kateprojectcompletion.cpp

https://invent.kde.org/utilities/kate/-/commit/cd8eb248c50d6802eb4616f5df264d3286b57997