diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 43a5cc2b5..666016ae4 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -313,7 +313,7 @@ | |||
313 | }, | 313 | }, |
314 | "rust-analyzer.updates.askBeforeDownload": { | 314 | "rust-analyzer.updates.askBeforeDownload": { |
315 | "type": "boolean", | 315 | "type": "boolean", |
316 | "default": true, | 316 | "default": false, |
317 | "description": "Whether to ask for permission before downloading any files from the Internet." | 317 | "description": "Whether to ask for permission before downloading any files from the Internet." |
318 | }, | 318 | }, |
319 | "rust-analyzer.server.path": { | 319 | "rust-analyzer.server.path": { |
@@ -389,7 +389,7 @@ | |||
389 | "default": {}, | 389 | "default": {}, |
390 | "markdownDescription": "Optional settings passed to the debug engine. Example: `{ \"lldb\": { \"terminal\":\"external\"} }`" | 390 | "markdownDescription": "Optional settings passed to the debug engine. Example: `{ \"lldb\": { \"terminal\":\"external\"} }`" |
391 | }, | 391 | }, |
392 | "$generated-start": false, | 392 | "$generated-start": {}, |
393 | "rust-analyzer.assist.importGranularity": { | 393 | "rust-analyzer.assist.importGranularity": { |
394 | "markdownDescription": "How imports should be grouped into use statements.", | 394 | "markdownDescription": "How imports should be grouped into use statements.", |
395 | "default": "crate", | 395 | "default": "crate", |
@@ -418,13 +418,13 @@ | |||
418 | "type": "string", | 418 | "type": "string", |
419 | "enum": [ | 419 | "enum": [ |
420 | "plain", | 420 | "plain", |
421 | "by_self", | 421 | "self", |
422 | "by_crate" | 422 | "crate" |
423 | ], | 423 | ], |
424 | "enumDescriptions": [ | 424 | "enumDescriptions": [ |
425 | "Insert import paths relative to the current module, using up to one `super` prefix if the parent module contains the requested item.", | 425 | "Insert import paths relative to the current module, using up to one `super` prefix if the parent module contains the requested item.", |
426 | "Prefix all import paths with `self` if they don't begin with `self`, `super`, `crate` or a crate name.", | 426 | "Insert import paths relative to the current module, using up to one `super` prefix if the parent module contains the requested item. Prefixes `self` in front of the path if it starts with a module.", |
427 | "Force import paths to be absolute by always starting them with `crate` or the crate name they refer to." | 427 | "Force import paths to be absolute by always starting them with `crate` or the extern crate name they come from." |
428 | ] | 428 | ] |
429 | }, | 429 | }, |
430 | "rust-analyzer.assist.importGroup": { | 430 | "rust-analyzer.assist.importGroup": { |
@@ -432,6 +432,11 @@ | |||
432 | "default": true, | 432 | "default": true, |
433 | "type": "boolean" | 433 | "type": "boolean" |
434 | }, | 434 | }, |
435 | "rust-analyzer.assist.allowMergingIntoGlobImports": { | ||
436 | "markdownDescription": "Whether to allow import insertion to merge new imports into single path glob imports like `use std::fmt::*;`.", | ||
437 | "default": true, | ||
438 | "type": "boolean" | ||
439 | }, | ||
435 | "rust-analyzer.callInfo.full": { | 440 | "rust-analyzer.callInfo.full": { |
436 | "markdownDescription": "Show function name and docs in parameter hints.", | 441 | "markdownDescription": "Show function name and docs in parameter hints.", |
437 | "default": true, | 442 | "default": true, |
@@ -447,6 +452,16 @@ | |||
447 | "default": false, | 452 | "default": false, |
448 | "type": "boolean" | 453 | "type": "boolean" |
449 | }, | 454 | }, |
455 | "rust-analyzer.cargo.unsetTest": { | ||
456 | "markdownDescription": "Unsets `#[cfg(test)]` for the specified crates.", | ||
457 | "default": [ | ||
458 | "core" | ||
459 | ], | ||
460 | "type": "array", | ||
461 | "items": { | ||
462 | "type": "string" | ||
463 | } | ||
464 | }, | ||
450 | "rust-analyzer.cargo.features": { | 465 | "rust-analyzer.cargo.features": { |
451 | "markdownDescription": "List of features to activate.", | 466 | "markdownDescription": "List of features to activate.", |
452 | "default": [], | 467 | "default": [], |
@@ -846,7 +861,7 @@ | |||
846 | "Search for all symbols kinds" | 861 | "Search for all symbols kinds" |
847 | ] | 862 | ] |
848 | }, | 863 | }, |
849 | "$generated-end": false | 864 | "$generated-end": {} |
850 | } | 865 | } |
851 | }, | 866 | }, |
852 | "problemPatterns": [ | 867 | "problemPatterns": [ |