diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 67e10df7e..0f38a1673 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -110,6 +110,11 @@ | |||
110 | "category": "Rust Analyzer" | 110 | "category": "Rust Analyzer" |
111 | }, | 111 | }, |
112 | { | 112 | { |
113 | "command": "rust-analyzer.viewCrateGraph", | ||
114 | "title": "View Crate Graph", | ||
115 | "category": "Rust Analyzer" | ||
116 | }, | ||
117 | { | ||
113 | "command": "rust-analyzer.expandMacro", | 118 | "command": "rust-analyzer.expandMacro", |
114 | "title": "Expand macro recursively", | 119 | "title": "Expand macro recursively", |
115 | "category": "Rust Analyzer" | 120 | "category": "Rust Analyzer" |
@@ -359,7 +364,10 @@ | |||
359 | ] | 364 | ] |
360 | }, | 365 | }, |
361 | "rust-analyzer.debug.sourceFileMap": { | 366 | "rust-analyzer.debug.sourceFileMap": { |
362 | "type": ["object", "string"], | 367 | "type": [ |
368 | "object", | ||
369 | "string" | ||
370 | ], | ||
363 | "const": "auto", | 371 | "const": "auto", |
364 | "description": "Optional source file mappings passed to the debug engine.", | 372 | "description": "Optional source file mappings passed to the debug engine.", |
365 | "default": { | 373 | "default": { |
@@ -379,17 +387,17 @@ | |||
379 | "$generated-start": false, | 387 | "$generated-start": false, |
380 | "rust-analyzer.assist.importMergeBehavior": { | 388 | "rust-analyzer.assist.importMergeBehavior": { |
381 | "markdownDescription": "The strategy to use when inserting new imports or merging imports.", | 389 | "markdownDescription": "The strategy to use when inserting new imports or merging imports.", |
382 | "default": "full", | 390 | "default": "crate", |
383 | "type": "string", | 391 | "type": "string", |
384 | "enum": [ | 392 | "enum": [ |
385 | "none", | 393 | "none", |
386 | "full", | 394 | "crate", |
387 | "last" | 395 | "module" |
388 | ], | 396 | ], |
389 | "enumDescriptions": [ | 397 | "enumDescriptions": [ |
390 | "No merging", | 398 | "Do not merge imports at all.", |
391 | "Merge all layers of the import trees", | 399 | "Merge imports from the same crate into a single `use` statement.", |
392 | "Only merge the last layer of the import trees" | 400 | "Merge imports from the same module into a single `use` statement." |
393 | ] | 401 | ] |
394 | }, | 402 | }, |
395 | "rust-analyzer.assist.importPrefix": { | 403 | "rust-analyzer.assist.importPrefix": { |