Kate uses rust-analyzer by default

This commit is contained in:
Matt Williams 2022-01-11 13:36:06 +00:00 committed by GitHub
parent 5a711d4f3a
commit 1ded222c8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -411,7 +411,9 @@ You'll need to close and reopen all .rs and Cargo files, or to restart the IDE,
=== Kate Text Editor
Support for the language server protocol is built into Kate through the LSP plugin, which is included by default.
It is preconfigured to use Rls for rust sources, but allows you to use rust-analyzer through a simple settings change.
It is preconfigured to use rust-analyzer for Rust sources since Kate 21.12.
Earlier versions allow you to use rust-analyzer through a simple settings change.
In the LSP Client settings of Kate, copy the content of the third tab "default parameters" to the second tab "server configuration".
Then in the configuration replace:
[source,json]