diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index e2027970d..e6ceb235f 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -510,6 +510,11 @@ | |||
510 | "type": "boolean", | 510 | "type": "boolean", |
511 | "default": true | 511 | "default": true |
512 | }, | 512 | }, |
513 | "rust-analyzer.hoverActions.gotoTypeDef": { | ||
514 | "markdownDescription": "Whether to show `Go to Type Definition` action. Only applies when `#rust-analyzer.hoverActions.enable#` is set.", | ||
515 | "type": "boolean", | ||
516 | "default": true | ||
517 | }, | ||
513 | "rust-analyzer.linkedProjects": { | 518 | "rust-analyzer.linkedProjects": { |
514 | "markdownDescription": "Disable project auto-discovery in favor of explicitly specified set of projects. \nElements must be paths pointing to Cargo.toml, rust-project.json, or JSON objects in rust-project.json format", | 519 | "markdownDescription": "Disable project auto-discovery in favor of explicitly specified set of projects. \nElements must be paths pointing to Cargo.toml, rust-project.json, or JSON objects in rust-project.json format", |
515 | "type": "array", | 520 | "type": "array", |
@@ -525,6 +530,24 @@ | |||
525 | "markdownDescription": "Internal config for debugging, disables loading of sysroot crates", | 530 | "markdownDescription": "Internal config for debugging, disables loading of sysroot crates", |
526 | "type": "boolean", | 531 | "type": "boolean", |
527 | "default": true | 532 | "default": true |
533 | }, | ||
534 | "rust-analyzer.diagnostics.warningsAsInfo": { | ||
535 | "type": "array", | ||
536 | "uniqueItems": true, | ||
537 | "items": { | ||
538 | "type": "string" | ||
539 | }, | ||
540 | "description": "List of warnings that should be displayed with info severity.\nThe warnings will be indicated by a blue squiggly underline in code and a blue icon in the problems panel.", | ||
541 | "default": [] | ||
542 | }, | ||
543 | "rust-analyzer.diagnostics.warningsAsHint": { | ||
544 | "type": "array", | ||
545 | "uniqueItems": true, | ||
546 | "items": { | ||
547 | "type": "string" | ||
548 | }, | ||
549 | "description": "List of warnings warnings that should be displayed with hint severity.\nThe warnings will be indicated by faded text or three dots in code and will not show up in te problems panel.", | ||
550 | "default": [] | ||
528 | } | 551 | } |
529 | } | 552 | } |
530 | }, | 553 | }, |