diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 1fe8e9f8a..3aaae357a 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -261,7 +261,7 @@ | |||
261 | "rust-analyzer.cargo-watch.enable": { | 261 | "rust-analyzer.cargo-watch.enable": { |
262 | "type": "boolean", | 262 | "type": "boolean", |
263 | "default": true, | 263 | "default": true, |
264 | "markdownDescription": "Run `cargo check` for diagnostics on save" | 264 | "markdownDescription": "Run specified `cargo-watch` command for diagnostics on save" |
265 | }, | 265 | }, |
266 | "rust-analyzer.cargo-watch.arguments": { | 266 | "rust-analyzer.cargo-watch.arguments": { |
267 | "type": "array", | 267 | "type": "array", |
@@ -312,12 +312,17 @@ | |||
312 | "exclusiveMinimum": true, | 312 | "exclusiveMinimum": true, |
313 | "description": "Number of syntax trees rust-analyzer keeps in memory" | 313 | "description": "Number of syntax trees rust-analyzer keeps in memory" |
314 | }, | 314 | }, |
315 | "rust-analyzer.displayInlayHints": { | 315 | "rust-analyzer.inlayHints.typeHints": { |
316 | "type": "boolean", | 316 | "type": "boolean", |
317 | "default": true, | 317 | "default": true, |
318 | "description": "Display additional type and parameter information in the editor" | 318 | "description": "Whether to show inlay type hints" |
319 | }, | 319 | }, |
320 | "rust-analyzer.maxInlayHintLength": { | 320 | "rust-analyzer.inlayHints.parameterHints": { |
321 | "type": "boolean", | ||
322 | "default": true, | ||
323 | "description": "Whether to show function parameter name inlay hints at the call site" | ||
324 | }, | ||
325 | "rust-analyzer.inlayHints.maxLength": { | ||
321 | "type": [ | 326 | "type": [ |
322 | "null", | 327 | "null", |
323 | "integer" | 328 | "integer" |