diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 12a08ba40..c6fc13519 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -300,6 +300,11 @@ | |||
300 | "default": true, | 300 | "default": true, |
301 | "markdownDescription": "Check with all features (will be passed as `--all-features`)" | 301 | "markdownDescription": "Check with all features (will be passed as `--all-features`)" |
302 | }, | 302 | }, |
303 | "rust-analyzer.inlayHints.enable": { | ||
304 | "type": "boolean", | ||
305 | "default": true, | ||
306 | "description": "Disable all inlay hints" | ||
307 | }, | ||
303 | "rust-analyzer.inlayHints.typeHints": { | 308 | "rust-analyzer.inlayHints.typeHints": { |
304 | "type": "boolean", | 309 | "type": "boolean", |
305 | "default": true, | 310 | "default": true, |
@@ -418,6 +423,16 @@ | |||
418 | "default": { | 423 | "default": { |
419 | "/rustc/<id>": "${env:USERPROFILE}/.rustup/toolchains/<toolchain-id>/lib/rustlib/src/rust" | 424 | "/rustc/<id>": "${env:USERPROFILE}/.rustup/toolchains/<toolchain-id>/lib/rustlib/src/rust" |
420 | } | 425 | } |
426 | }, | ||
427 | "rust-analyzer.debug.openDebugPane": { | ||
428 | "description": "Whether to open up the Debug Pane on debugging start.", | ||
429 | "type": "boolean", | ||
430 | "default": false | ||
431 | }, | ||
432 | "rust-analyzer.debug.engineSettings": { | ||
433 | "type": "object", | ||
434 | "default": {}, | ||
435 | "description": "Optional settings passed to the debug engine. Example:\n{ \"lldb\": { \"terminal\":\"external\"} }" | ||
421 | } | 436 | } |
422 | } | 437 | } |
423 | }, | 438 | }, |
@@ -589,6 +604,9 @@ | |||
589 | "union": [ | 604 | "union": [ |
590 | "entity.name.union" | 605 | "entity.name.union" |
591 | ], | 606 | ], |
607 | "struct": [ | ||
608 | "entity.name.type.struct" | ||
609 | ], | ||
592 | "keyword.unsafe": [ | 610 | "keyword.unsafe": [ |
593 | "keyword.other.unsafe" | 611 | "keyword.other.unsafe" |
594 | ], | 612 | ], |