SUMMARY - LSP client: add option to disable in-editor diagnostic highlighting. - LSP client: add option to disable completions. MOTIVATION The LSP client adds some extremely useful features like jump-to-definition, find-references, completions. However, some features can, at times, be extremely distracting; for example in-editor error highlighting is useful when compile-checking a new feature but is less useful (and potentially quite annoying) while writing a larger new feature. Completions are powerful, but also get in the way of looking at the surrounding code. Having the option to quickly en-/dis-able these two features during code development (instead of being limited to disabling the whole LSP client) would be much appreciated.
Settings -> LSP Client -> Show Program Diagnostics OR Right click, LSP -> More -> Show Diagnostics Notifications... There is no way to disable lsp completions though.
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/1652
Git commit 707c498a12bb44d90ceca204556080b353c61b7a by Waqar Ahmed. Committed on 14/11/2024 at 12:58. Pushed by waqar into branch 'master'. Allow to disable auto lsp completions With this option, the completions will still show if you press Ctrl-Space i.e., do a manual invocation but won't show if you are just typing. M +10 -1 addons/lspclient/lspclientcompletion.cpp M +1 -0 addons/lspclient/lspclientcompletion.h M +23 -18 addons/lspclient/lspclientconfigpage.cpp M +3 -0 addons/lspclient/lspclientplugin.cpp M +1 -0 addons/lspclient/lspclientplugin.h M +15 -0 addons/lspclient/lspclientpluginview.cpp M +23 -16 addons/lspclient/lspconfigwidget.ui https://invent.kde.org/utilities/kate/-/commit/707c498a12bb44d90ceca204556080b353c61b7a