mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 21:28:51 +00:00
Make code completion "just work" in more cases
This commit is contained in:
parent
6952a3b446
commit
c7b5d6be4c
3 changed files with 3 additions and 3 deletions
|
@ -49,7 +49,7 @@ config_data! {
|
||||||
cargo_features: Vec<String> = "[]",
|
cargo_features: Vec<String> = "[]",
|
||||||
/// Run build scripts (`build.rs`) for more precise code analysis.
|
/// Run build scripts (`build.rs`) for more precise code analysis.
|
||||||
cargo_runBuildScripts |
|
cargo_runBuildScripts |
|
||||||
cargo_loadOutDirsFromCheck: bool = "false",
|
cargo_loadOutDirsFromCheck: bool = "true",
|
||||||
/// Do not activate the `default` feature.
|
/// Do not activate the `default` feature.
|
||||||
cargo_noDefaultFeatures: bool = "false",
|
cargo_noDefaultFeatures: bool = "false",
|
||||||
/// Compilation target (target triple).
|
/// Compilation target (target triple).
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
Activate all available features (`--all-features`).
|
Activate all available features (`--all-features`).
|
||||||
[[rust-analyzer.cargo.features]]rust-analyzer.cargo.features (default: `[]`)::
|
[[rust-analyzer.cargo.features]]rust-analyzer.cargo.features (default: `[]`)::
|
||||||
List of features to activate.
|
List of features to activate.
|
||||||
[[rust-analyzer.cargo.runBuildScripts]]rust-analyzer.cargo.runBuildScripts (default: `false`)::
|
[[rust-analyzer.cargo.runBuildScripts]]rust-analyzer.cargo.runBuildScripts (default: `true`)::
|
||||||
Run build scripts (`build.rs`) for more precise code analysis.
|
Run build scripts (`build.rs`) for more precise code analysis.
|
||||||
[[rust-analyzer.cargo.noDefaultFeatures]]rust-analyzer.cargo.noDefaultFeatures (default: `false`)::
|
[[rust-analyzer.cargo.noDefaultFeatures]]rust-analyzer.cargo.noDefaultFeatures (default: `false`)::
|
||||||
Do not activate the `default` feature.
|
Do not activate the `default` feature.
|
||||||
|
|
|
@ -416,7 +416,7 @@
|
||||||
},
|
},
|
||||||
"rust-analyzer.cargo.runBuildScripts": {
|
"rust-analyzer.cargo.runBuildScripts": {
|
||||||
"markdownDescription": "Run build scripts (`build.rs`) for more precise code analysis.",
|
"markdownDescription": "Run build scripts (`build.rs`) for more precise code analysis.",
|
||||||
"default": false,
|
"default": true,
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"rust-analyzer.cargo.noDefaultFeatures": {
|
"rust-analyzer.cargo.noDefaultFeatures": {
|
||||||
|
|
Loading…
Reference in a new issue