aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-03-31 15:06:03 +0100
committerGitHub <[email protected]>2020-03-31 15:06:03 +0100
commitfa3c7742af9fbfe5146f4158a6119fa727dcc87a (patch)
tree897858f9eae6d759f5bc7187a18a70ecb8a45cc3 /editors/code
parent6546edc0651260f74a7e0c121120c487791d7f6d (diff)
parent569f47e427e0b9181075291c988446b86c5ba8f9 (diff)
Merge #3790
3790: Better names for config structs r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'editors/code')
-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 ba31c4e63..f1278b296 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",