vscode: added more type safety to package.json config
},
"rust-analyzer.excludeGlobs": {
"type": "array",
+ "items": {
+ "type": "string"
+ },
"default": [],
"description": "Paths to exclude from analysis"
},
},
"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": []
},
"rust-analyzer.maxInlayHintLength": {
"type": "number",
"default": 20,
+ "exclusiveMinimum": 0,
"description": "Maximum length for inlay hints"
},
"rust-analyzer.cargoFeatures.noDefaultFeatures": {
},
"rust-analyzer.cargoFeatures.features": {
"type": "array",
+ "items": {
+ "type": "string"
+ },
"default": [],
"description": "List of features to activate"
}
