diff options
Diffstat (limited to 'docs/dev')
| -rw-r--r-- | docs/dev/README.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/dev/README.md b/docs/dev/README.md index 8d7e1801092..f230dc1db1a 100644 --- a/docs/dev/README.md +++ b/docs/dev/README.md @@ -155,6 +155,16 @@ There's also two VS Code commands which might be of interest: * `Rust Analyzer: Syntax Tree` shows syntax tree of the current file/selection. + 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 <kbd>Ctrl</kbd> (i.e. trigger goto definition) in the inspected + Rust source file the syntax tree read-only editor should scroll to and select the + appropriate syntax node token. + +  + # Profiling We have a built-in hierarchical profiler, you can enable it by using `RA_PROFILE` env-var: |
