Created attachment 162220 [details] Idea for the implementation SUMMARY I like to insert the suggested value of auto-completion with tab, and not with Enter. Please see the attached screenshot, to see how this could look like. The current approach allows only to disable autocompletion at all or to disable the preselection of the first suggestion. Other than that, is there no way, to not have the enter key insert suggestions, when I actually just want to insert a newline. Other editors, like VSCode, already support this.
In case we implement that, be aware that it conflicts with the setting "Cycle through the results with tab/shift+tab" Two possible ways to solve that could be: a) Make the key(s) to cycle through the results customizable as well b) Disable this setting, if the other setting is enabled and vice versa
Created attachment 162221 [details] Conflict with this setting
You can press Ctrl+Enter to insert a newline
Yeah, I would rather use Ctrl+Enter to accept the suggestion. Ctrl+Enter is very unnatural to me for entering a newline, since Kate would be the only program that does so. All other programs that let my edit text, enter a newline. As this field in bugzilla :D
Its not unnatural for an advanced text editor made for programming when in the context of autocompletion. We also have ctrl+shift+enter/ctrl+alt+enter. Perhaps you should use kwrite, it might not have this issue. In any case, it's simple to implement such a setting so can be a good first task.
Thanks a lot. I very much use Kate as an IDE.
Is an valid wish, if somebody has time, please provide some merge request: https://kate-editor.org/join-us/