mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
Disable rust-analyzer.{cargo,checkOnSave}.allFeatures by default
This commit is contained in:
parent
21132a7a74
commit
7a66d99897
3 changed files with 4 additions and 4 deletions
|
@ -64,7 +64,7 @@ impl Default for CargoConfig {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
CargoConfig {
|
CargoConfig {
|
||||||
no_default_features: false,
|
no_default_features: false,
|
||||||
all_features: true,
|
all_features: false,
|
||||||
features: Vec::new(),
|
features: Vec::new(),
|
||||||
load_out_dirs_from_check: false,
|
load_out_dirs_from_check: false,
|
||||||
target: None,
|
target: None,
|
||||||
|
|
|
@ -122,7 +122,7 @@ impl Default for Config {
|
||||||
check: Some(FlycheckConfig::CargoCommand {
|
check: Some(FlycheckConfig::CargoCommand {
|
||||||
command: "check".to_string(),
|
command: "check".to_string(),
|
||||||
all_targets: true,
|
all_targets: true,
|
||||||
all_features: true,
|
all_features: false,
|
||||||
extra_args: Vec::new(),
|
extra_args: Vec::new(),
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
|
|
@ -238,7 +238,7 @@
|
||||||
},
|
},
|
||||||
"rust-analyzer.cargo.allFeatures": {
|
"rust-analyzer.cargo.allFeatures": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": true,
|
"default": false,
|
||||||
"description": "Activate all available features"
|
"description": "Activate all available features"
|
||||||
},
|
},
|
||||||
"rust-analyzer.cargo.features": {
|
"rust-analyzer.cargo.features": {
|
||||||
|
@ -319,7 +319,7 @@
|
||||||
},
|
},
|
||||||
"rust-analyzer.checkOnSave.allFeatures": {
|
"rust-analyzer.checkOnSave.allFeatures": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": true,
|
"default": false,
|
||||||
"markdownDescription": "Check with all features (will be passed as `--all-features`)"
|
"markdownDescription": "Check with all features (will be passed as `--all-features`)"
|
||||||
},
|
},
|
||||||
"rust-analyzer.inlayHints.enable": {
|
"rust-analyzer.inlayHints.enable": {
|
||||||
|
|
Loading…
Reference in a new issue