diff options
author | Benjamin Coenen <[email protected]> | 2020-05-06 08:57:00 +0100 |
---|---|---|
committer | Benjamin Coenen <[email protected]> | 2020-05-06 08:57:00 +0100 |
commit | c4d128e454448191c4b21d8e151c673e4c42376e (patch) | |
tree | 17cf5bbf429642c52708cd0d3c1d8885b63543f0 /editors/code/package.json | |
parent | 0bf02f5ccac99c91f10ef46bb06ff2ea316c382c (diff) | |
parent | 30eb458b4fa8adcecd8cbf731bd1cfa9a7a8b88b (diff) |
Merge branch 'master' of github.com:rust-analyzer/rust-analyzer into fix_4311
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 442b9de98..eeb3d3513 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -33,7 +33,6 @@ | |||
33 | "fix": " tsfmt -r && eslint -c .eslintrc.js --ext ts ./src --fix" | 33 | "fix": " tsfmt -r && eslint -c .eslintrc.js --ext ts ./src --fix" |
34 | }, | 34 | }, |
35 | "dependencies": { | 35 | "dependencies": { |
36 | "jsonc-parser": "^2.2.1", | ||
37 | "node-fetch": "^2.6.0", | 36 | "node-fetch": "^2.6.0", |
38 | "vscode-languageclient": "7.0.0-next.1" | 37 | "vscode-languageclient": "7.0.0-next.1" |
39 | }, | 38 | }, |
@@ -233,6 +232,14 @@ | |||
233 | "default": false, | 232 | "default": false, |
234 | "markdownDescription": "Run `cargo check` on startup to get the correct value for package OUT_DIRs" | 233 | "markdownDescription": "Run `cargo check` on startup to get the correct value for package OUT_DIRs" |
235 | }, | 234 | }, |
235 | "rust-analyzer.cargo.target": { | ||
236 | "type": [ | ||
237 | "null", | ||
238 | "string" | ||
239 | ], | ||
240 | "default": null, | ||
241 | "description": "Specify the compilation target" | ||
242 | }, | ||
236 | "rust-analyzer.rustfmt.extraArgs": { | 243 | "rust-analyzer.rustfmt.extraArgs": { |
237 | "type": "array", | 244 | "type": "array", |
238 | "items": { | 245 | "items": { |
@@ -288,6 +295,11 @@ | |||
288 | "default": true, | 295 | "default": true, |
289 | "markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)" | 296 | "markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)" |
290 | }, | 297 | }, |
298 | "rust-analyzer.checkOnSave.allFeatures": { | ||
299 | "type": "boolean", | ||
300 | "default": true, | ||
301 | "markdownDescription": "Check with all features (will be passed as `--all-features`)" | ||
302 | }, | ||
291 | "rust-analyzer.inlayHints.typeHints": { | 303 | "rust-analyzer.inlayHints.typeHints": { |
292 | "type": "boolean", | 304 | "type": "boolean", |
293 | "default": true, | 305 | "default": true, |