aboutsummaryrefslogtreecommitdiff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorPhil Ellison <[email protected]>2020-12-28 18:29:58 +0000
committerPhil Ellison <[email protected]>2020-12-28 18:29:58 +0000
commit077592a12fd982de3e69572a4c738dd4468617f9 (patch)
tree24bc738d02fb8c88ef662f85e4a0c9a4c8ab0fac /editors/code/package.json
parent1d530756ed7ba175ec32ff71247072798dc9a748 (diff)
Initial implementation of view-hir command
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 13749a084..4bae5d647 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -104,6 +104,11 @@
104 "category": "Rust Analyzer" 104 "category": "Rust Analyzer"
105 }, 105 },
106 { 106 {
107 "command": "rust-analyzer.viewHir",
108 "title": "View Hir",
109 "category": "Rust Analyzer"
110 },
111 {
107 "command": "rust-analyzer.expandMacro", 112 "command": "rust-analyzer.expandMacro",
108 "title": "Expand macro recursively", 113 "title": "Expand macro recursively",
109 "category": "Rust Analyzer" 114 "category": "Rust Analyzer"
@@ -999,6 +1004,10 @@
999 "when": "inRustProject" 1004 "when": "inRustProject"
1000 }, 1005 },
1001 { 1006 {
1007 "command": "rust-analyzer.viewHir",
1008 "when": "inRustProject"
1009 },
1010 {
1002 "command": "rust-analyzer.expandMacro", 1011 "command": "rust-analyzer.expandMacro",
1003 "when": "inRustProject" 1012 "when": "inRustProject"
1004 }, 1013 },