You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dev/README.md
+9-7
Original file line number
Diff line number
Diff line change
@@ -154,19 +154,21 @@ There are also several VS Code commands which might be of interest:
154
154
155
155
*`rust-analyzer: Status` shows some memory-usage statistics.
156
156
157
-
*`rust-analyzer: Syntax Tree` shows syntax tree of the current file/selection.
158
-
159
157
*`rust-analyzer: View Hir` shows the HIR expressions within the function containing the cursor.
160
158
161
-
You can hover over syntax nodes in the opened text file to see the appropriate
162
-
rust code that it refers to and the rust editor will also highlight the proper
163
-
text range.
159
+
* If `rust-analyzer.showSyntaxTree` is enabled in settings, `Rust Syntax Tree: Focus on Rust Syntax Tree View` shows the syntax tree of the current file.
160
+
161
+
You can click on nodes in the rust editor to go to the corresponding syntax node.
162
+
163
+
You can click on `Reveal Syntax Element` next to a syntax node to go to the corresponding rust code and highlight the proper text range.
164
164
165
165
If you trigger Go to Definition in the inspected Rust source file,
166
-
the syntax tree read-only editor should scroll to and select the
166
+
the syntax tree view should scroll to and select the
0 commit comments