From e6c61d5072e600372ba4a38ad8893af37aaa77e6 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 24 Jun 2020 15:52:07 +0200 Subject: Cleanup project.json deserialization --- docs/user/manual.adoc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/user') 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: * 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). * Specify `"rust-analyzer.linkedProjects": [ { "roots": [...], "crates": [...] }]` inline. +Relative paths are interpreted relative to `rust-project.json` file location or (for inline JSON) relative to `rootUri`. + See https://github.com/rust-analyzer/rust-project.json-example for a small example. == Features -- cgit v1.2.3