aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-02-13 20:47:31 +0000
committerVeetaha <[email protected]>2020-02-13 20:47:31 +0000
commit9b47124e6e5d32a676961c05661934215e98012c (patch)
treeaa02734caabb4f252ef7332ace0cb28e61cf1d18 /editors
parent3da53ab3e75b0486c1b2e4f74babea10992c4747 (diff)
vscode: added more type safety to package.json config
Diffstat (limited to 'editors')
-rw-r--r--editors/code/package.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index f687eb8d4..12d32cef7 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -181,6 +181,9 @@
181 }, 181 },
182 "rust-analyzer.excludeGlobs": { 182 "rust-analyzer.excludeGlobs": {
183 "type": "array", 183 "type": "array",
184 "items": {
185 "type": "string"
186 },
184 "default": [], 187 "default": [],
185 "description": "Paths to exclude from analysis" 188 "description": "Paths to exclude from analysis"
186 }, 189 },
@@ -196,6 +199,9 @@
196 }, 199 },
197 "rust-analyzer.cargo-watch.arguments": { 200 "rust-analyzer.cargo-watch.arguments": {
198 "type": "array", 201 "type": "array",
202 "items": {
203 "type": "string"
204 },
199 "description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )", 205 "description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )",
200 "default": [] 206 "default": []
201 }, 207 },
@@ -241,6 +247,7 @@
241 "rust-analyzer.maxInlayHintLength": { 247 "rust-analyzer.maxInlayHintLength": {
242 "type": "number", 248 "type": "number",
243 "default": 20, 249 "default": 20,
250 "exclusiveMinimum": 0,
244 "description": "Maximum length for inlay hints" 251 "description": "Maximum length for inlay hints"
245 }, 252 },
246 "rust-analyzer.cargoFeatures.noDefaultFeatures": { 253 "rust-analyzer.cargoFeatures.noDefaultFeatures": {
@@ -255,6 +262,9 @@
255 }, 262 },
256 "rust-analyzer.cargoFeatures.features": { 263 "rust-analyzer.cargoFeatures.features": {
257 "type": "array", 264 "type": "array",
265 "items": {
266 "type": "string"
267 },
258 "default": [], 268 "default": [],
259 "description": "List of features to activate" 269 "description": "List of features to activate"
260 } 270 }