Summary: | Documentation on how to debug Kate LSP Plugin is wrong | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | David Helkowski <kde> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | macOS (DMG) | ||
OS: | macOS | ||
Latest Commit: | https://invent.kde.org/utilities/kate/-/commit/a2dd6f00bc8e2ee3c5b4c7e2551a649a257c25e2 | Version Fixed In: | |
Sentry Crash Report: |
Description
David Helkowski
2025-02-09 04:07:52 UTC
Documentation mentioned found here in the source: https://github.com/KDE/kate/blob/a5f4a01d2cf61ef2abc5c45be7f580ed2d10e062/doc/kate/plugins.docbook#L2906 I wanted debug information as there didn't seem to be any output or way to find out what happened when the lsp fails to start. Looking at the code it appears that if the lsp server fails to start it is just ignored: https://github.com/KDE/kate/blob/master/addons/lspclient/lspclientserver.cpp#L1735 This should definitely output an error, and it isn't useful to hide such an error by default. Git commit a2dd6f00bc8e2ee3c5b4c7e2551a649a257c25e2 by Waqar Ahmed. Committed on 12/02/2025 at 11:05. Pushed by waqar into branch 'master'. Fix lsp debug var docs M +1 -1 doc/kate/plugins.docbook https://invent.kde.org/utilities/kate/-/commit/a2dd6f00bc8e2ee3c5b4c7e2551a649a257c25e2 |