Auto merge of #14135 - lnicola:manual-lapce, r=lnicola

feat: Add Lapce section to the manual
This commit is contained in:
bors 2023-02-12 09:12:48 +00:00
commit a14a1520a3

View File

@ -535,12 +535,6 @@ https://docs.helix-editor.com/[Helix] supports LSP by default.
However, it won't install `rust-analyzer` automatically. However, it won't install `rust-analyzer` automatically.
You can follow instructions for installing <<rust-analyzer-language-server-binary,`rust-analyzer` binary>>. You can follow instructions for installing <<rust-analyzer-language-server-binary,`rust-analyzer` binary>>.
=== Crates
There is a package named `ra_ap_rust_analyzer` available on https://crates.io/crates/ra_ap_rust-analyzer[crates.io], for someone who wants to use it programmatically.
For more details, see https://github.com/rust-lang/rust-analyzer/blob/master/.github/workflows/publish.yml[the publish workflow].
=== Visual Studio 2022 === Visual Studio 2022
There are multiple rust-analyzer extensions for Visual Studio 2022 on Windows: There are multiple rust-analyzer extensions for Visual Studio 2022 on Windows:
@ -577,6 +571,17 @@ https://github.com/sourcegear/rust-vs-extension[GitHub (docs, issues, discussion
* Free (no-cost) * Free (no-cost)
* Supports all editions of Visual Studio 2022 on Windows: Community, Professional, or Enterprise * Supports all editions of Visual Studio 2022 on Windows: Community, Professional, or Enterprise
=== Lapce
https://lapce.dev/[Lapce] has a Rust plugin which you can install directly.
Unfortunately, it downloads an old version of `rust-analyzer`, but you can set the server path under Settings.
=== Crates
There is a package named `ra_ap_rust_analyzer` available on https://crates.io/crates/ra_ap_rust-analyzer[crates.io], for someone who wants to use it programmatically.
For more details, see https://github.com/rust-lang/rust-analyzer/blob/master/.github/workflows/publish.yml[the publish workflow].
== Troubleshooting == Troubleshooting
Start with looking at the rust-analyzer version. Start with looking at the rust-analyzer version.