aboutsummaryrefslogtreecommitdiff
path: root/docs/user
diff options
context:
space:
mode:
Diffstat (limited to 'docs/user')
-rw-r--r--docs/user/manual.adoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc
index ea714f49a..0dc1dc2ae 100644
--- a/docs/user/manual.adoc
+++ b/docs/user/manual.adoc
@@ -269,6 +269,10 @@ Gnome Builder currently has support for RLS, and there's no way to configure the
2691. Rename, symlink or copy the `rust-analyzer` binary to `rls` and place it somewhere Builder can find (in `PATH`, or under `~/.cargo/bin`). 2691. Rename, symlink or copy the `rust-analyzer` binary to `rls` and place it somewhere Builder can find (in `PATH`, or under `~/.cargo/bin`).
2702. Enable the Rust Builder plugin. 2702. Enable the Rust Builder plugin.
271 271
272==== GNOME Builder (Nightly)
273
274https://nightly.gnome.org/repo/appstream/org.gnome.Builder.flatpakref[GNOME Builder (Nightly)] has now native support for `rust-analyzer` out of the box. If the `rust-analyzer` binary is not available, GNOME Builder can install it when opening a Rust source file.
275
272== Non-Cargo Based Projects 276== Non-Cargo Based Projects
273 277
274rust-analyzer does not require Cargo. 278rust-analyzer does not require Cargo.
@@ -318,6 +322,8 @@ There are tree ways to feed `rust-project.json` to rust-analyzer:
318* Specify `"rust-analyzer.linkedProjects": [ "path/to/rust-project.json" ]` in the settings (and make sure that your LSP client sends settings as a part of initialize request). 322* Specify `"rust-analyzer.linkedProjects": [ "path/to/rust-project.json" ]` in the settings (and make sure that your LSP client sends settings as a part of initialize request).
319* Specify `"rust-analyzer.linkedProjects": [ { "roots": [...], "crates": [...] }]` inline. 323* Specify `"rust-analyzer.linkedProjects": [ { "roots": [...], "crates": [...] }]` inline.
320 324
325Relative paths are interpreted relative to `rust-project.json` file location or (for inline JSON) relative to `rootUri`.
326
321See https://github.com/rust-analyzer/rust-project.json-example for a small example. 327See https://github.com/rust-analyzer/rust-project.json-example for a small example.
322 328
323== Features 329== Features