From e86bfc0995a0c52eeed2703d33a9089032b68c77 Mon Sep 17 00:00:00 2001 From: veetaha Date: Tue, 31 Mar 2020 18:26:53 +0300 Subject: vscode: add docs about syntax tree --- docs/user/features.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') 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. Shows the parse tree of the current file. It exists mostly for debugging 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. + +demo + #### Expand Macro Recursively Shows the full macro expansion of the macro at current cursor. -- cgit v1.2.3