summaryrefslogtreecommitdiff
path: root/content/posts/kate-lsp-client-continued
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2021-02-18 21:44:01 +0100
committerChristoph Cullmann <cullmann@kde.org>2021-02-18 21:44:01 +0100
commite9ec93a471d9a753db01b682e75c52b32adf16f2 (patch)
tree5f6d9a2b7d90852965b6d24f9db6a9198570c03b /content/posts/kate-lsp-client-continued
parentbcafaafff80184537a3116de5341a8caa24d63f4 (diff)
use LoveIt theme, self hosted
Diffstat (limited to 'content/posts/kate-lsp-client-continued')
-rw-r--r--content/posts/kate-lsp-client-continued/images/kate-diagnostics.pngbin0 -> 305770 bytes
-rw-r--r--content/posts/kate-lsp-client-continued/images/kate-document-highlight.pngbin0 -> 350934 bytes
-rw-r--r--content/posts/kate-lsp-client-continued/images/kate-find-references.pngbin0 -> 315522 bytes
-rw-r--r--content/posts/kate-lsp-client-continued/images/kate-hover.pngbin0 -> 356817 bytes
-rw-r--r--content/posts/kate-lsp-client-continued/index.md56
5 files changed, 56 insertions, 0 deletions
diff --git a/content/posts/kate-lsp-client-continued/images/kate-diagnostics.png b/content/posts/kate-lsp-client-continued/images/kate-diagnostics.png
new file mode 100644
index 0000000..4a7f45f
--- /dev/null
+++ b/content/posts/kate-lsp-client-continued/images/kate-diagnostics.png
Binary files differ
diff --git a/content/posts/kate-lsp-client-continued/images/kate-document-highlight.png b/content/posts/kate-lsp-client-continued/images/kate-document-highlight.png
new file mode 100644
index 0000000..4e448c7
--- /dev/null
+++ b/content/posts/kate-lsp-client-continued/images/kate-document-highlight.png
Binary files differ
diff --git a/content/posts/kate-lsp-client-continued/images/kate-find-references.png b/content/posts/kate-lsp-client-continued/images/kate-find-references.png
new file mode 100644
index 0000000..5b9284f
--- /dev/null
+++ b/content/posts/kate-lsp-client-continued/images/kate-find-references.png
Binary files differ
diff --git a/content/posts/kate-lsp-client-continued/images/kate-hover.png b/content/posts/kate-lsp-client-continued/images/kate-hover.png
new file mode 100644
index 0000000..c4740c3
--- /dev/null
+++ b/content/posts/kate-lsp-client-continued/images/kate-hover.png
Binary files differ
diff --git a/content/posts/kate-lsp-client-continued/index.md b/content/posts/kate-lsp-client-continued/index.md
new file mode 100644
index 0000000..3ec78af
--- /dev/null
+++ b/content/posts/kate-lsp-client-continued/index.md
@@ -0,0 +1,56 @@
+---
+title: "Kate LSP Client Continued"
+date: 2019-07-14T15:33:00+02:00
+draft: false
+categories: [kde, kate, development]
+tags: [kde, kate]
+url: /posts/kate-lsp-client-continued/
+author: "Christoph Cullmann"
+---
+
+The new LSP client by Mark Nauwelaerts made nice progress since the [LSP client restart](/posts/kate-lsp-client-restart/) post last week.
+
+Reminder: The plugin is not compiled per default, you can turn it on via:
+
+> cmake -DCMAKE_INSTALL_PREFIX="your prefix" -DENABLE_LSPCLIENT=ON "kate src dir"
+
+The code can still be found kate.git master, see [lspclient](https://cgit.kde.org/kate.git/tree/addons/lspclient) in the addons directory.
+
+What is new?
+
+* Diagnostics support: A tab in the LSP client toolview will show the diagnistics, grouped by file with links to jump to the locations. Issues will be highlighted in the editor view, too.
+<p align="center">
+ <a href="images/kate-diagnostics.png" target="_blank"><img width=500 src="images/kate-diagnostics.png"></a>
+</p>
+
+* Find references: Find all references for some variable/function in your complete program. They are listed like the diagnostics grouped per file in an extra tab.
+<p align="center">
+ <a href="images/kate-find-references.png" target="_blank"><img width=500 src="images/kate-find-references.png"></a>
+</p>
+
+* Improved document highlight: Highlight all occurrences of a variable/... inside the current document. Beside highlighting the reads/writes/uses, you get a jump list like for the other stuff as tab, too.
+<p align="center">
+ <a href="images/kate-document-highlight.png" target="_blank"><img width=500 src="images/kate-document-highlight.png"></a>
+</p>
+
+A feature I missed to show last time:
+
+* Hover support: Show more meta info about a code location, like the proper type, useful e.g. for [almost-always-auto](https://herbsutter.com/2013/08/12/gotw-94-solution-aaa-style-almost-always-auto/) C++ programming.
+<p align="center">
+ <a href="images/kate-hover.png" target="_blank"><img width=500 src="images/kate-hover.png"></a>
+</p>
+
+We even got already two patches for the fresh plugin:
+
+* [D22348 - Use the label when insertText or sortText is missing](https://phabricator.kde.org/D22348)
+* [D22349 - Don't send the Content-Type header](https://phabricator.kde.org/D22349)
+
+Both are aimed to improve the support of the Rust LSP server.
+As you can see, they got already reviewed and merged.
+
+Feel welcome to show up on [kwrite-devel@kde.org](mailto:kwrite-devel@kde.org) and help out!
+All development discussions regarding this plugin happen there.
+
+If you are already familiar with Phabricator, post some patch directly at [KDE's Phabricator instance](https://phabricator.kde.org/differential/).
+
+You want more LSP servers supported? You want to have feature X? You have seen some bug and want it to vanish? => Join!