diff options
author | Clemens Wasser <[email protected]> | 2020-06-10 07:51:11 +0100 |
---|---|---|
committer | Clemens Wasser <[email protected]> | 2020-06-10 07:51:11 +0100 |
commit | 47ef544fa57ca1833b466e491315e54a88780b4d (patch) | |
tree | 6d0e1e074561f78c94a3107787728b3842c51b3b /editors/code | |
parent | 684b6fa1b8cd41b03ba485084690f78991820645 (diff) |
Added the rust-analyzer.checkOnSave.features option.
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/package.json | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 779d7e1b8..6389499e9 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -322,6 +322,14 @@ | |||
322 | "default": false, | 322 | "default": false, |
323 | "markdownDescription": "Check with all features (will be passed as `--all-features`)" | 323 | "markdownDescription": "Check with all features (will be passed as `--all-features`)" |
324 | }, | 324 | }, |
325 | "rust-analyzer.checkOnSave.features": { | ||
326 | "type": "array", | ||
327 | "items": { | ||
328 | "type": "string" | ||
329 | }, | ||
330 | "default": [], | ||
331 | "description": "List of features to activate. Set to `rust-analyzer.cargo.features` if empty." | ||
332 | }, | ||
325 | "rust-analyzer.inlayHints.enable": { | 333 | "rust-analyzer.inlayHints.enable": { |
326 | "type": "boolean", | 334 | "type": "boolean", |
327 | "default": true, | 335 | "default": true, |