|
261 | 261 | "default": [], |
262 | 262 | "description": "Paths to exclude from analysis" |
263 | 263 | }, |
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": { |
270 | | - "type": "array", |
271 | | - "items": { |
272 | | - "type": "string" |
273 | | - }, |
274 | | - "default": [], |
275 | | - "markdownDescription": "Additional `cargo fmt` arguments" |
276 | | - }, |
277 | | - "rust-analyzer.rustfmt.overrideCommand": { |
| 264 | + "rust-analyzer.rustfmtArgs": { |
278 | 265 | "type": "array", |
279 | 266 | "items": { |
280 | 267 | "type": "string" |
281 | 268 | }, |
282 | 269 | "default": [], |
283 | | - "markdownDescription": "Advanced option, fully override `cargo fmt` command line" |
| 270 | + "description": "Additional arguments to rustfmt" |
284 | 271 | }, |
285 | | - "rust-analyzer.checkOnSave.enable": { |
| 272 | + "rust-analyzer.useClientWatching": { |
286 | 273 | "type": "boolean", |
287 | 274 | "default": true, |
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" |
| 275 | + "description": "client provided file watching instead of notify watching." |
294 | 276 | }, |
295 | | - "rust-analyzer.checkOnSave.allTargets": { |
| 277 | + "rust-analyzer.cargo-watch.enable": { |
296 | 278 | "type": "boolean", |
297 | 279 | "default": true, |
298 | | - "markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)" |
| 280 | + "markdownDescription": "Run specified `cargo-watch` command for diagnostics on save" |
299 | 281 | }, |
300 | | - "rust-analyzer.checkOnSave.extraArgs": { |
| 282 | + "rust-analyzer.cargo-watch.arguments": { |
301 | 283 | "type": "array", |
302 | 284 | "items": { |
303 | 285 | "type": "string" |
304 | 286 | }, |
305 | | - "markdownDescription": "Additional `cargo check` arguments", |
| 287 | + "markdownDescription": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )", |
306 | 288 | "default": [] |
307 | 289 | }, |
308 | | - "rust-analyzer.checkOnSave.overrideCommand": { |
309 | | - "type": "array", |
310 | | - "items": { |
311 | | - "type": "string" |
312 | | - }, |
313 | | - "default": [], |
314 | | - "markdownDescription": "Advanced option, fully override `cargo check` command line (this must include at least `--message-format=json`)" |
| 290 | + "rust-analyzer.cargo-watch.command": { |
| 291 | + "type": "string", |
| 292 | + "markdownDescription": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )", |
| 293 | + "default": "check" |
| 294 | + }, |
| 295 | + "rust-analyzer.cargo-watch.allTargets": { |
| 296 | + "type": "boolean", |
| 297 | + "markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)", |
| 298 | + "default": true |
315 | 299 | }, |
316 | 300 | "rust-analyzer.trace.server": { |
317 | 301 | "type": "string", |
|
0 commit comments