diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 05c67d822..1ed834d62 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -44,7 +44,9 @@ | |||
44 | "vscode": "^1.1.26" | 44 | "vscode": "^1.1.26" |
45 | }, | 45 | }, |
46 | "activationEvents": [ | 46 | "activationEvents": [ |
47 | "onLanguage:rust" | 47 | "onLanguage:rust", |
48 | "onCommand:rust-analyzer.analyzerStatus", | ||
49 | "onCommand:rust-analyzer.collectGarbage" | ||
48 | ], | 50 | ], |
49 | "main": "./out/extension", | 51 | "main": "./out/extension", |
50 | "contributes": { | 52 | "contributes": { |
@@ -73,35 +75,43 @@ | |||
73 | "commands": [ | 75 | "commands": [ |
74 | { | 76 | { |
75 | "command": "rust-analyzer.syntaxTree", | 77 | "command": "rust-analyzer.syntaxTree", |
76 | "title": "rust-analyzer: syntax tree" | 78 | "title": "Show syntax tree for current file", |
79 | "category": "Rust Analyzer" | ||
77 | }, | 80 | }, |
78 | { | 81 | { |
79 | "command": "rust-analyzer.extendSelection", | 82 | "command": "rust-analyzer.extendSelection", |
80 | "title": "rust-analyzer: extend selection" | 83 | "title": "Extend selection", |
84 | "category": "Rust Analyzer" | ||
81 | }, | 85 | }, |
82 | { | 86 | { |
83 | "command": "rust-analyzer.matchingBrace", | 87 | "command": "rust-analyzer.matchingBrace", |
84 | "title": "rust-analyzer: matching brace" | 88 | "title": "Find matching brace", |
89 | "category": "Rust Analyzer" | ||
85 | }, | 90 | }, |
86 | { | 91 | { |
87 | "command": "rust-analyzer.parentModule", | 92 | "command": "rust-analyzer.parentModule", |
88 | "title": "rust-analyzer: parent module" | 93 | "title": "Locate parent module", |
94 | "category": "Rust Analyzer" | ||
89 | }, | 95 | }, |
90 | { | 96 | { |
91 | "command": "rust-analyzer.joinLines", | 97 | "command": "rust-analyzer.joinLines", |
92 | "title": "rust-analyzer: join lines" | 98 | "title": "Join lines", |
99 | "category": "Rust Analyzer" | ||
93 | }, | 100 | }, |
94 | { | 101 | { |
95 | "command": "rust-analyzer.run", | 102 | "command": "rust-analyzer.run", |
96 | "title": "rust-analyzer: run" | 103 | "title": "Run", |
104 | "category": "Rust Analyzer" | ||
97 | }, | 105 | }, |
98 | { | 106 | { |
99 | "command": "rust-analyzer.analyzerStatus", | 107 | "command": "rust-analyzer.analyzerStatus", |
100 | "title": "rust-analyzer: status" | 108 | "title": "Status", |
109 | "category": "Rust Analyzer" | ||
101 | }, | 110 | }, |
102 | { | 111 | { |
103 | "command": "rust-analyzer.collectGarbage", | 112 | "command": "rust-analyzer.collectGarbage", |
104 | "title": "rust-analyzer: run gc" | 113 | "title": "Run garbage collection", |
114 | "category": "Rust Analyzer" | ||
105 | } | 115 | } |
106 | ], | 116 | ], |
107 | "keybindings": [ | 117 | "keybindings": [ |