Skip to content

Commit e86bfc0

Browse files
committed
vscode: add docs about syntax tree
1 parent 4fbca1c commit e86bfc0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/user/features.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@ Join selected lines into one, smartly fixing up whitespace and trailing commas.
8181
Shows the parse tree of the current file. It exists mostly for debugging
8282
rust-analyzer itself.
8383

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+
8490
#### Expand Macro Recursively
8591

8692
Shows the full macro expansion of the macro at current cursor.

0 commit comments

Comments
 (0)