diff options
Diffstat (limited to 'docs/dev/README.md')
-rw-r--r-- | docs/dev/README.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/dev/README.md b/docs/dev/README.md index 4a2f9feb3..dd2bfc493 100644 --- a/docs/dev/README.md +++ b/docs/dev/README.md | |||
@@ -77,7 +77,7 @@ Notably, this uses the usual `rust-analyzer` binary from `PATH`. | |||
77 | For this, it is important to have the following in your `settings.json` file: | 77 | For this, it is important to have the following in your `settings.json` file: |
78 | ```json | 78 | ```json |
79 | { | 79 | { |
80 | "rust-analyzer.serverPath": "rust-analyzer" | 80 | "rust-analyzer.server.path": "rust-analyzer" |
81 | } | 81 | } |
82 | ``` | 82 | ``` |
83 | After I am done with the fix, I use `cargo xtask install --client` to try the new extension for real. | 83 | After I am done with the fix, I use `cargo xtask install --client` to try the new extension for real. |
@@ -227,6 +227,8 @@ There are also two VS Code commands which might be of interest: | |||
227 | 227 | ||
228 | * `Rust Analyzer: Syntax Tree` shows syntax tree of the current file/selection. | 228 | * `Rust Analyzer: Syntax Tree` shows syntax tree of the current file/selection. |
229 | 229 | ||
230 | * `Rust Analyzer: View Hir` shows the HIR expressions within the function containing the cursor. | ||
231 | |||
230 | You can hover over syntax nodes in the opened text file to see the appropriate | 232 | You can hover over syntax nodes in the opened text file to see the appropriate |
231 | rust code that it refers to and the rust editor will also highlight the proper | 233 | rust code that it refers to and the rust editor will also highlight the proper |
232 | text range. | 234 | text range. |