mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 20:43:21 +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": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"default": [],
|
||||
"description": "Paths to exclude from analysis"
|
||||
},
|
||||
|
@ -196,6 +199,9 @@
|
|||
},
|
||||
"rust-analyzer.cargo-watch.arguments": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )",
|
||||
"default": []
|
||||
},
|
||||
|
@ -241,6 +247,7 @@
|
|||
"rust-analyzer.maxInlayHintLength": {
|
||||
"type": "number",
|
||||
"default": 20,
|
||||
"exclusiveMinimum": 0,
|
||||
"description": "Maximum length for inlay hints"
|
||||
},
|
||||
"rust-analyzer.cargoFeatures.noDefaultFeatures": {
|
||||
|
@ -255,6 +262,9 @@
|
|||
},
|
||||
"rust-analyzer.cargoFeatures.features": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"default": [],
|
||||
"description": "List of features to activate"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue