Bug 476620 - Option to disable diagnostic highlighting, completions
Summary: Option to disable diagnostic highlighting, completions
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-06 10:38 UTC by Diggory Hardy
Modified: 2024-11-18 12:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diggory Hardy 2023-11-06 10:38:28 UTC
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.
Comment 1 Waqar Ahmed 2024-03-18 11:55:18 UTC
Settings -> LSP Client -> Show Program Diagnostics 

OR 

Right click, LSP -> More -> Show Diagnostics Notifications...

There is no way to disable lsp completions though.
Comment 2 Bug Janitor Service 2024-11-14 08:23:34 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/1652
Comment 3 Waqar Ahmed 2024-11-14 13:35:42 UTC
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