aboutsummaryrefslogtreecommitdiff
path: root/editors/code/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json50
1 files changed, 33 insertions, 17 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 37e083220..ddc9de1ca 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -261,41 +261,57 @@
261 "default": [], 261 "default": [],
262 "description": "Paths to exclude from analysis" 262 "description": "Paths to exclude from analysis"
263 }, 263 },
264 "rust-analyzer.rustfmtArgs": { 264 "rust-analyzer.useClientWatching": {
265 "type": "boolean",
266 "default": true,
267 "description": "client provided file watching instead of notify watching."
268 },
269 "rust-analyzer.rustfmt.extraArgs": {
265 "type": "array", 270 "type": "array",
266 "items": { 271 "items": {
267 "type": "string" 272 "type": "string"
268 }, 273 },
269 "default": [], 274 "default": [],
270 "description": "Additional arguments to rustfmt" 275 "markdownDescription": "Additional `cargo fmt` arguments"
271 }, 276 },
272 "rust-analyzer.useClientWatching": { 277 "rust-analyzer.rustfmt.overrideCommand": {
278 "type": "array",
279 "items": {
280 "type": "string"
281 },
282 "default": [],
283 "markdownDescription": "Advanced option, fully override `cargo fmt` command line"
284 },
285 "rust-analyzer.checkOnSave.enable": {
273 "type": "boolean", 286 "type": "boolean",
274 "default": true, 287 "default": true,
275 "description": "client provided file watching instead of notify watching." 288 "markdownDescription": "Run `cargo check` command for diagnostics on save"
289 },
290 "rust-analyzer.checkOnSave.cargoCommand": {
291 "type": "string",
292 "default": "check",
293 "markdownDescription": "Cargo command to run on save"
276 }, 294 },
277 "rust-analyzer.cargo-watch.enable": { 295 "rust-analyzer.checkOnSave.allTargets": {
278 "type": "boolean", 296 "type": "boolean",
279 "default": true, 297 "default": true,
280 "markdownDescription": "Run specified `cargo-watch` command for diagnostics on save" 298 "markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)"
281 }, 299 },
282 "rust-analyzer.cargo-watch.arguments": { 300 "rust-analyzer.checkOnSave.extraArgs": {
283 "type": "array", 301 "type": "array",
284 "items": { 302 "items": {
285 "type": "string" 303 "type": "string"
286 }, 304 },
287 "markdownDescription": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )", 305 "markdownDescription": "Additional `cargo check` arguments",
288 "default": [] 306 "default": []
289 }, 307 },
290 "rust-analyzer.cargo-watch.command": { 308 "rust-analyzer.checkOnSave.overrideCommand": {
291 "type": "string", 309 "type": "array",
292 "markdownDescription": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )", 310 "items": {
293 "default": "check" 311 "type": "string"
294 }, 312 },
295 "rust-analyzer.cargo-watch.allTargets": { 313 "default": [],
296 "type": "boolean", 314 "markdownDescription": "Advanced option, fully override `cargo check` command line (this must include at least `--message-format=json`)"
297 "markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)",
298 "default": true
299 }, 315 },
300 "rust-analyzer.trace.server": { 316 "rust-analyzer.trace.server": {
301 "type": "string", 317 "type": "string",