diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index b29f006f0..923e9b35a 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -203,6 +203,11 @@ | |||
203 | "command": "rust-analyzer.openCargoToml", | 203 | "command": "rust-analyzer.openCargoToml", |
204 | "title": "Open Cargo.toml", | 204 | "title": "Open Cargo.toml", |
205 | "category": "Rust Analyzer" | 205 | "category": "Rust Analyzer" |
206 | }, | ||
207 | { | ||
208 | "command": "rust-analyzer.peekTests", | ||
209 | "title": "Peek related tests", | ||
210 | "category": "Rust Analyzer" | ||
206 | } | 211 | } |
207 | ], | 212 | ], |
208 | "keybindings": [ | 213 | "keybindings": [ |
@@ -1165,7 +1170,14 @@ | |||
1165 | "command": "rust-analyzer.openCargoToml", | 1170 | "command": "rust-analyzer.openCargoToml", |
1166 | "when": "inRustProject" | 1171 | "when": "inRustProject" |
1167 | } | 1172 | } |
1173 | ], | ||
1174 | "editor/context": [ | ||
1175 | { | ||
1176 | "command": "rust-analyzer.peekTests", | ||
1177 | "when": "inRustProject", | ||
1178 | "group": "navigation@1000" | ||
1179 | } | ||
1168 | ] | 1180 | ] |
1169 | } | 1181 | } |
1170 | } | 1182 | } |
1171 | } | 1183 | } \ No newline at end of file |