diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 7a4a93e30..3aaae357a 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -21,7 +21,7 @@ | |||
21 | "Programming Languages" | 21 | "Programming Languages" |
22 | ], | 22 | ], |
23 | "engines": { | 23 | "engines": { |
24 | "vscode": "^1.42.0" | 24 | "vscode": "^1.43.0" |
25 | }, | 25 | }, |
26 | "enableProposedApi": true, | 26 | "enableProposedApi": true, |
27 | "scripts": { | 27 | "scripts": { |
@@ -41,7 +41,7 @@ | |||
41 | "@rollup/plugin-node-resolve": "^7.1.1", | 41 | "@rollup/plugin-node-resolve": "^7.1.1", |
42 | "@types/node": "^12.12.29", | 42 | "@types/node": "^12.12.29", |
43 | "@types/node-fetch": "^2.5.5", | 43 | "@types/node-fetch": "^2.5.5", |
44 | "@types/vscode": "^1.42.0", | 44 | "@types/vscode": "^1.43.0", |
45 | "@typescript-eslint/eslint-plugin": "^2.22.0", | 45 | "@typescript-eslint/eslint-plugin": "^2.22.0", |
46 | "@typescript-eslint/parser": "^2.22.0", | 46 | "@typescript-eslint/parser": "^2.22.0", |
47 | "eslint": "^6.8.0", | 47 | "eslint": "^6.8.0", |
@@ -224,6 +224,11 @@ | |||
224 | "default": true, | 224 | "default": true, |
225 | "description": "Whether to ask for permission before downloading any files from the Internet" | 225 | "description": "Whether to ask for permission before downloading any files from the Internet" |
226 | }, | 226 | }, |
227 | "rust-analyzer.additionalOutDirs": { | ||
228 | "type": "object", | ||
229 | "default": {}, | ||
230 | "markdownDescription": "Fine grained controls for OUT_DIR `env!(\"OUT_DIR\")` variable. e.g. `{\"foo\":\"/path/to/foo\"}`, " | ||
231 | }, | ||
227 | "rust-analyzer.serverPath": { | 232 | "rust-analyzer.serverPath": { |
228 | "type": [ | 233 | "type": [ |
229 | "null", | 234 | "null", |
@@ -256,7 +261,7 @@ | |||
256 | "rust-analyzer.cargo-watch.enable": { | 261 | "rust-analyzer.cargo-watch.enable": { |
257 | "type": "boolean", | 262 | "type": "boolean", |
258 | "default": true, | 263 | "default": true, |
259 | "markdownDescription": "Run `cargo check` for diagnostics on save" | 264 | "markdownDescription": "Run specified `cargo-watch` command for diagnostics on save" |
260 | }, | 265 | }, |
261 | "rust-analyzer.cargo-watch.arguments": { | 266 | "rust-analyzer.cargo-watch.arguments": { |
262 | "type": "array", | 267 | "type": "array", |
@@ -307,12 +312,17 @@ | |||
307 | "exclusiveMinimum": true, | 312 | "exclusiveMinimum": true, |
308 | "description": "Number of syntax trees rust-analyzer keeps in memory" | 313 | "description": "Number of syntax trees rust-analyzer keeps in memory" |
309 | }, | 314 | }, |
310 | "rust-analyzer.displayInlayHints": { | 315 | "rust-analyzer.inlayHints.typeHints": { |
316 | "type": "boolean", | ||
317 | "default": true, | ||
318 | "description": "Whether to show inlay type hints" | ||
319 | }, | ||
320 | "rust-analyzer.inlayHints.parameterHints": { | ||
311 | "type": "boolean", | 321 | "type": "boolean", |
312 | "default": true, | 322 | "default": true, |
313 | "description": "Display additional type and parameter information in the editor" | 323 | "description": "Whether to show function parameter name inlay hints at the call site" |
314 | }, | 324 | }, |
315 | "rust-analyzer.maxInlayHintLength": { | 325 | "rust-analyzer.inlayHints.maxLength": { |
316 | "type": [ | 326 | "type": [ |
317 | "null", | 327 | "null", |
318 | "integer" | 328 | "integer" |