From e4c69443e7fac2843262d6890557de1f9803e34a Mon Sep 17 00:00:00 2001 From: veetaha Date: Thu, 2 Apr 2020 03:26:37 +0300 Subject: vscode: add docs about goto-definition for rust syntax tree --- docs/user/features.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/user') diff --git a/docs/user/features.md b/docs/user/features.md index 8aeec2e81..4cba66529 100644 --- a/docs/user/features.md +++ b/docs/user/features.md @@ -85,6 +85,10 @@ 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. +If you press Ctrl (i.e. trigger goto definition) in the inspected +Rust source file the syntax tree readonly editor should scroll to and select the +appropriate syntax node token. + demo #### Expand Macro Recursively -- cgit v1.2.3 From dd5e4d4870b4e59bc82d285c481bb6971d016912 Mon Sep 17 00:00:00 2001 From: veetaha Date: Thu, 2 Apr 2020 11:23:56 +0300 Subject: vscode: move docks about syntax tree to dev/README.md --- docs/user/features.md | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'docs/user') diff --git a/docs/user/features.md b/docs/user/features.md index 4cba66529..56d2969fd 100644 --- a/docs/user/features.md +++ b/docs/user/features.md @@ -81,16 +81,6 @@ 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. - -If you press Ctrl (i.e. trigger goto definition) in the inspected -Rust source file the syntax tree readonly editor should scroll to and select the -appropriate syntax node token. - -demo - #### Expand Macro Recursively Shows the full macro expansion of the macro at current cursor. -- cgit v1.2.3