aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorveetaha <[email protected]>2020-03-31 16:26:53 +0100
committerveetaha <[email protected]>2020-03-31 16:26:53 +0100
commite86bfc0995a0c52eeed2703d33a9089032b68c77 (patch)
treefd42682f71befe89cb4cc1dc5743c385a6ccd78d /docs
parent4fbca1c64df789c1fa46d083d6555b0d0b3107c0 (diff)
vscode: add docs about syntax tree
Diffstat (limited to 'docs')
-rw-r--r--docs/user/features.md6
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.
81Shows the parse tree of the current file. It exists mostly for debugging 81Shows the parse tree of the current file. It exists mostly for debugging
82rust-analyzer itself. 82rust-analyzer itself.
83 83
84You can hover over syntax nodes in the opened text file to see the appropriate
85rust code that it refers to and the rust editor will also highlight the proper
86text 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
86Shows the full macro expansion of the macro at current cursor. 92Shows the full macro expansion of the macro at current cursor.