vscode: add docs about syntax tree

This commit is contained in:
veetaha 2020-03-31 18:26:53 +03:00
parent 4fbca1c64d
commit e86bfc0995

View file

@ -81,6 +81,12 @@ Join selected lines into one, smartly fixing up whitespace and trailing commas.
Shows the parse tree of the current file. It exists mostly for debugging Shows the parse tree of the current file. It exists mostly for debugging
rust-analyzer itself. rust-analyzer itself.
You can hover over syntax nodes in the opened text file to see the appropriate
rust code that it refers to and the rust editor will also highlight the proper
text range.
<img src="https://user-images.githubusercontent.com/36276403/78043783-7425e180-737c-11ea-8653-b02b773c5aa1.png" alt="demo" height="200px" >
#### Expand Macro Recursively #### Expand Macro Recursively
Shows the full macro expansion of the macro at current cursor. Shows the full macro expansion of the macro at current cursor.