mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-10 02:12:40 +00:00
vscode: added more type safety to package.json config
This commit is contained in:
parent
3da53ab3e7
commit
9b47124e6e
1 changed files with 10 additions and 0 deletions
|
@ -181,6 +181,9 @@
|
||||||
},
|
},
|
||||||
"rust-analyzer.excludeGlobs": {
|
"rust-analyzer.excludeGlobs": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"default": [],
|
"default": [],
|
||||||
"description": "Paths to exclude from analysis"
|
"description": "Paths to exclude from analysis"
|
||||||
},
|
},
|
||||||
|
@ -196,6 +199,9 @@
|
||||||
},
|
},
|
||||||
"rust-analyzer.cargo-watch.arguments": {
|
"rust-analyzer.cargo-watch.arguments": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )",
|
"description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )",
|
||||||
"default": []
|
"default": []
|
||||||
},
|
},
|
||||||
|
@ -241,6 +247,7 @@
|
||||||
"rust-analyzer.maxInlayHintLength": {
|
"rust-analyzer.maxInlayHintLength": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 20,
|
"default": 20,
|
||||||
|
"exclusiveMinimum": 0,
|
||||||
"description": "Maximum length for inlay hints"
|
"description": "Maximum length for inlay hints"
|
||||||
},
|
},
|
||||||
"rust-analyzer.cargoFeatures.noDefaultFeatures": {
|
"rust-analyzer.cargoFeatures.noDefaultFeatures": {
|
||||||
|
@ -255,6 +262,9 @@
|
||||||
},
|
},
|
||||||
"rust-analyzer.cargoFeatures.features": {
|
"rust-analyzer.cargoFeatures.features": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"default": [],
|
"default": [],
|
||||||
"description": "List of features to activate"
|
"description": "List of features to activate"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue