diff options
author | Ville Penttinen <[email protected]> | 2019-03-03 19:21:40 +0000 |
---|---|---|
committer | Ville Penttinen <[email protected]> | 2019-03-03 19:43:40 +0000 |
commit | c2d3203d0c708dc2ccb7c0d017ae876180c0e5a8 (patch) | |
tree | 694ca7020bfdc8403e45060e10a590c2514df978 /editors/code/package.json | |
parent | ac52d9a1f1a94e2c836c8a04a316f6454936a79a (diff) |
Add vscode support for range in SyntaxTreeParams
This enables the client to use a command to either show the live-updating
version of the syntax tree for the current file. Or optionally when a selected
range is provided, we then provide a snapshot of the syntax tree for the range.
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index d4ce2ae2c..fda411810 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -75,7 +75,7 @@ | |||
75 | "commands": [ | 75 | "commands": [ |
76 | { | 76 | { |
77 | "command": "rust-analyzer.syntaxTree", | 77 | "command": "rust-analyzer.syntaxTree", |
78 | "title": "Show syntax tree for current file", | 78 | "title": "Show Syntax Tree", |
79 | "category": "Rust Analyzer" | 79 | "category": "Rust Analyzer" |
80 | }, | 80 | }, |
81 | { | 81 | { |