Hello,
I was just trying language server protocol module in kate. It seems it miss commands for it to work. Like: pyls, javascript, typescript-language-server, gopls, bash-language-server and others. May it be possible to bundle these language servers in some package?
Kate support for Language Server Protocol
- Edited
None of those are required for LSP to work, those truly are optional. You can install Rust and Clang to add LSP support for those (Go probably too, it includes /usr/lib/go/src/cmd/vendor/golang.org/x/tools/internal/lsp/
). But for now not adding new depends for basically a text editor. For IDE there are Qtcreator and Kdevelop.
OK.
Well, I did try on Go with no luck. C seems to works fine.
- Edited
I'm looking into this a bit more.
For python, we have eric6, and to add a reasonable working python LSP, way too many new packages are needed, but adding some for bash or QML might not take many new. Looks like gopls also doesn't need any extra.
EDIT:
gopls 0.7.2 and bash-language-server 2.0.0 are up in the build repo.
So I assume the LSP plugins in VSCode, Atom and so on are packaged for the respective IDE - and Kate has nothing of that.
So we need to add LSP plugins for every single language individually?
If so, can we at least configure the packages so, that they work out of the box with Kate?
So once installing Go and Kate, I can use the Go plugin, without having to configure a ton?
Kate will never be an IDE, so don't expect all LSP to be included in the KaOS repos.
All you have to do in Kate to use LSP though is go to plugins and activate LSP, it will then automatically use any LSP it finds (and warn for missing).