diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 6f2275062..296d6fe8e 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -307,28 +307,18 @@ | |||
307 | "exclusiveMinimum": true, | 307 | "exclusiveMinimum": true, |
308 | "description": "Number of syntax trees rust-analyzer keeps in memory" | 308 | "description": "Number of syntax trees rust-analyzer keeps in memory" |
309 | }, | 309 | }, |
310 | "rust-analyzer.inlayHintOpts.displayType": { | 310 | "rust-analyzer.inlayHints.typeHints": { |
311 | "type": "string", | 311 | "type": "boolean", |
312 | "enum": [ | 312 | "default": true, |
313 | "off", | 313 | "description": "Whether to show inlay type hints" |
314 | "typeHints", | ||
315 | "parameterHints", | ||
316 | "full" | ||
317 | ], | ||
318 | "enumDescriptions": [ | ||
319 | "No type inlay hints", | ||
320 | "Type inlays hints only", | ||
321 | "Parameter inlays hints only", | ||
322 | "All inlay hints types" | ||
323 | ], | ||
324 | "default": "full", | ||
325 | "description": "Display additional type and parameter information in the editor" | ||
326 | }, | 314 | }, |
327 | "rust-analyzer.inlayHintOpts.maxLength": { | 315 | "rust-analyzer.inlayHints.parameterHints": { |
328 | "type": [ | 316 | "type": "boolean", |
329 | "null", | 317 | "default": true, |
330 | "integer" | 318 | "description": "Whether to show function parameter name inlay hints at the call site" |
331 | ], | 319 | }, |
320 | "rust-analyzer.inlayHints.maxLength": { | ||
321 | "type": "integer", | ||
332 | "default": 20, | 322 | "default": 20, |
333 | "minimum": 0, | 323 | "minimum": 0, |
334 | "exclusiveMinimum": true, | 324 | "exclusiveMinimum": true, |