mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Merge #11258
11258: Kate uses rust-analyzer by default now r=jonas-schievink a=milliams Since Kate 21.12 rust-analyzer is the default. See this Kate MR: https://invent.kde.org/utilities/kate/-/merge_requests/495 Co-authored-by: Matt Williams <matt@milliams.com>
This commit is contained in:
commit
e9d590d63a
1 changed files with 3 additions and 1 deletions
|
@ -411,7 +411,9 @@ You'll need to close and reopen all .rs and Cargo files, or to restart the IDE,
|
||||||
=== Kate Text Editor
|
=== Kate Text Editor
|
||||||
|
|
||||||
Support for the language server protocol is built into Kate through the LSP plugin, which is included by default.
|
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".
|
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:
|
Then in the configuration replace:
|
||||||
[source,json]
|
[source,json]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue