diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index db1fe5189..a607c2148 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -182,6 +182,9 @@ | |||
182 | }, | 182 | }, |
183 | "rust-analyzer.excludeGlobs": { | 183 | "rust-analyzer.excludeGlobs": { |
184 | "type": "array", | 184 | "type": "array", |
185 | "items": { | ||
186 | "type": "string" | ||
187 | }, | ||
185 | "default": [], | 188 | "default": [], |
186 | "description": "Paths to exclude from analysis" | 189 | "description": "Paths to exclude from analysis" |
187 | }, | 190 | }, |
@@ -197,6 +200,9 @@ | |||
197 | }, | 200 | }, |
198 | "rust-analyzer.cargo-watch.arguments": { | 201 | "rust-analyzer.cargo-watch.arguments": { |
199 | "type": "array", | 202 | "type": "array", |
203 | "items": { | ||
204 | "type": "string" | ||
205 | }, | ||
200 | "description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )", | 206 | "description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )", |
201 | "default": [] | 207 | "default": [] |
202 | }, | 208 | }, |
@@ -242,6 +248,7 @@ | |||
242 | "rust-analyzer.maxInlayHintLength": { | 248 | "rust-analyzer.maxInlayHintLength": { |
243 | "type": "number", | 249 | "type": "number", |
244 | "default": 20, | 250 | "default": 20, |
251 | "exclusiveMinimum": 0, | ||
245 | "description": "Maximum length for inlay hints" | 252 | "description": "Maximum length for inlay hints" |
246 | }, | 253 | }, |
247 | "rust-analyzer.cargoFeatures.noDefaultFeatures": { | 254 | "rust-analyzer.cargoFeatures.noDefaultFeatures": { |
@@ -256,6 +263,9 @@ | |||
256 | }, | 263 | }, |
257 | "rust-analyzer.cargoFeatures.features": { | 264 | "rust-analyzer.cargoFeatures.features": { |
258 | "type": "array", | 265 | "type": "array", |
266 | "items": { | ||
267 | "type": "string" | ||
268 | }, | ||
259 | "default": [], | 269 | "default": [], |
260 | "description": "List of features to activate" | 270 | "description": "List of features to activate" |
261 | } | 271 | } |