diff options
author | DJMcNab <[email protected]> | 2019-01-29 17:16:14 +0000 |
---|---|---|
committer | DJMcNab <[email protected]> | 2019-01-29 17:16:14 +0000 |
commit | ce939795eda971f121231cca36b5bf99ef4fd6c4 (patch) | |
tree | 0a429ff9d6f315344b3cb27a9835f8885f664ce6 | |
parent | 377ee9d3335216086a4d9cdbdeff9a803ea2815a (diff) |
Add category to the commands
-rw-r--r-- | editors/code/package.json | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 506137d1d..1ed834d62 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -75,35 +75,43 @@ | |||
75 | "commands": [ | 75 | "commands": [ |
76 | { | 76 | { |
77 | "command": "rust-analyzer.syntaxTree", | 77 | "command": "rust-analyzer.syntaxTree", |
78 | "title": "rust-analyzer: syntax tree" | 78 | "title": "Show syntax tree for current file", |
79 | "category": "Rust Analyzer" | ||
79 | }, | 80 | }, |
80 | { | 81 | { |
81 | "command": "rust-analyzer.extendSelection", | 82 | "command": "rust-analyzer.extendSelection", |
82 | "title": "rust-analyzer: extend selection" | 83 | "title": "Extend selection", |
84 | "category": "Rust Analyzer" | ||
83 | }, | 85 | }, |
84 | { | 86 | { |
85 | "command": "rust-analyzer.matchingBrace", | 87 | "command": "rust-analyzer.matchingBrace", |
86 | "title": "rust-analyzer: matching brace" | 88 | "title": "Find matching brace", |
89 | "category": "Rust Analyzer" | ||
87 | }, | 90 | }, |
88 | { | 91 | { |
89 | "command": "rust-analyzer.parentModule", | 92 | "command": "rust-analyzer.parentModule", |
90 | "title": "rust-analyzer: parent module" | 93 | "title": "Locate parent module", |
94 | "category": "Rust Analyzer" | ||
91 | }, | 95 | }, |
92 | { | 96 | { |
93 | "command": "rust-analyzer.joinLines", | 97 | "command": "rust-analyzer.joinLines", |
94 | "title": "rust-analyzer: join lines" | 98 | "title": "Join lines", |
99 | "category": "Rust Analyzer" | ||
95 | }, | 100 | }, |
96 | { | 101 | { |
97 | "command": "rust-analyzer.run", | 102 | "command": "rust-analyzer.run", |
98 | "title": "rust-analyzer: run" | 103 | "title": "Run", |
104 | "category": "Rust Analyzer" | ||
99 | }, | 105 | }, |
100 | { | 106 | { |
101 | "command": "rust-analyzer.analyzerStatus", | 107 | "command": "rust-analyzer.analyzerStatus", |
102 | "title": "rust-analyzer: status" | 108 | "title": "Status", |
109 | "category": "Rust Analyzer" | ||
103 | }, | 110 | }, |
104 | { | 111 | { |
105 | "command": "rust-analyzer.collectGarbage", | 112 | "command": "rust-analyzer.collectGarbage", |
106 | "title": "rust-analyzer: run gc" | 113 | "title": "Run garbage collection", |
114 | "category": "Rust Analyzer" | ||
107 | } | 115 | } |
108 | ], | 116 | ], |
109 | "keybindings": [ | 117 | "keybindings": [ |