diff --git a/docs/user/features.md b/docs/user/features.md index 56d2969fd4..8aeec2e81e 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.