diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 512885454..6f2275062 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -307,12 +307,24 @@ | |||
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.displayInlayHints": { | 310 | "rust-analyzer.inlayHintOpts.displayType": { |
311 | "type": "boolean", | 311 | "type": "string", |
312 | "default": true, | 312 | "enum": [ |
313 | "off", | ||
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", | ||
313 | "description": "Display additional type and parameter information in the editor" | 325 | "description": "Display additional type and parameter information in the editor" |
314 | }, | 326 | }, |
315 | "rust-analyzer.maxInlayHintLength": { | 327 | "rust-analyzer.inlayHintOpts.maxLength": { |
316 | "type": [ | 328 | "type": [ |
317 | "null", | 329 | "null", |
318 | "integer" | 330 | "integer" |