diff options
author | Aleksey Kladov <[email protected]> | 2020-06-24 14:52:07 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-06-24 15:16:52 +0100 |
commit | e6c61d5072e600372ba4a38ad8893af37aaa77e6 (patch) | |
tree | fd9b9d3295963b17f65d2a0960189adeae38c3a2 /docs/user | |
parent | a07cad16ab6271809d30ecf723420b3e41ec42ef (diff) |
Cleanup project.json deserialization
Diffstat (limited to 'docs/user')
-rw-r--r-- | docs/user/manual.adoc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index f1b7ed7fc..0dc1dc2ae 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc | |||
@@ -322,6 +322,8 @@ There are tree ways to feed `rust-project.json` to rust-analyzer: | |||
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). | 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). |
323 | * Specify `"rust-analyzer.linkedProjects": [ { "roots": [...], "crates": [...] }]` inline. | 323 | * Specify `"rust-analyzer.linkedProjects": [ { "roots": [...], "crates": [...] }]` inline. |
324 | 324 | ||
325 | Relative paths are interpreted relative to `rust-project.json` file location or (for inline JSON) relative to `rootUri`. | ||
326 | |||
325 | See https://github.com/rust-analyzer/rust-project.json-example for a small example. | 327 | See https://github.com/rust-analyzer/rust-project.json-example for a small example. |
326 | 328 | ||
327 | == Features | 329 | == Features |