diff options
author | veetaha <[email protected]> | 2020-03-31 16:26:53 +0100 |
---|---|---|
committer | veetaha <[email protected]> | 2020-03-31 16:26:53 +0100 |
commit | e86bfc0995a0c52eeed2703d33a9089032b68c77 (patch) | |
tree | fd42682f71befe89cb4cc1dc5743c385a6ccd78d /docs | |
parent | 4fbca1c64df789c1fa46d083d6555b0d0b3107c0 (diff) |
vscode: add docs about syntax tree
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user/features.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/user/features.md b/docs/user/features.md index 56d2969fd..8aeec2e81 100644 --- a/docs/user/features.md +++ b/docs/user/features.md | |||
@@ -81,6 +81,12 @@ Join selected lines into one, smartly fixing up whitespace and trailing commas. | |||
81 | Shows the parse tree of the current file. It exists mostly for debugging | 81 | Shows the parse tree of the current file. It exists mostly for debugging |
82 | rust-analyzer itself. | 82 | rust-analyzer itself. |
83 | 83 | ||
84 | You can hover over syntax nodes in the opened text file to see the appropriate | ||
85 | rust code that it refers to and the rust editor will also highlight the proper | ||
86 | text range. | ||
87 | |||
88 | <img src="https://user-images.githubusercontent.com/36276403/78043783-7425e180-737c-11ea-8653-b02b773c5aa1.png" alt="demo" height="200px" > | ||
89 | |||
84 | #### Expand Macro Recursively | 90 | #### Expand Macro Recursively |
85 | 91 | ||
86 | Shows the full macro expansion of the macro at current cursor. | 92 | Shows the full macro expansion of the macro at current cursor. |