From 6343ddd00945b7977ca71c645432224ffc130f53 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 31 Mar 2020 17:00:15 +0200 Subject: Revert accidental package.json changes --- editors/code/package.json | 50 ++++++++++++++++------------------------------- 1 file changed, 17 insertions(+), 33 deletions(-) (limited to 'editors/code') diff --git a/editors/code/package.json b/editors/code/package.json index f1278b296..ba31c4e63 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -261,57 +261,41 @@ "default": [], "description": "Paths to exclude from analysis" }, - "rust-analyzer.useClientWatching": { - "type": "boolean", - "default": true, - "description": "client provided file watching instead of notify watching." - }, - "rust-analyzer.rustfmt.extraArgs": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "markdownDescription": "Additional `cargo fmt` arguments" - }, - "rust-analyzer.rustfmt.overrideCommand": { + "rust-analyzer.rustfmtArgs": { "type": "array", "items": { "type": "string" }, "default": [], - "markdownDescription": "Advanced option, fully override `cargo fmt` command line" + "description": "Additional arguments to rustfmt" }, - "rust-analyzer.checkOnSave.enable": { + "rust-analyzer.useClientWatching": { "type": "boolean", "default": true, - "markdownDescription": "Run `cargo check` command for diagnostics on save" - }, - "rust-analyzer.checkOnSave.cargoCommand": { - "type": "string", - "default": "check", - "markdownDescription": "Cargo command to run on save" + "description": "client provided file watching instead of notify watching." }, - "rust-analyzer.checkOnSave.allTargets": { + "rust-analyzer.cargo-watch.enable": { "type": "boolean", "default": true, - "markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)" + "markdownDescription": "Run specified `cargo-watch` command for diagnostics on save" }, - "rust-analyzer.checkOnSave.extraArgs": { + "rust-analyzer.cargo-watch.arguments": { "type": "array", "items": { "type": "string" }, - "markdownDescription": "Additional `cargo check` arguments", + "markdownDescription": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )", "default": [] }, - "rust-analyzer.checkOnSave.overrideCommand": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "markdownDescription": "Advanced option, fully override `cargo check` command line (this must include at least `--message-format=json`)" + "rust-analyzer.cargo-watch.command": { + "type": "string", + "markdownDescription": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )", + "default": "check" + }, + "rust-analyzer.cargo-watch.allTargets": { + "type": "boolean", + "markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)", + "default": true }, "rust-analyzer.trace.server": { "type": "string", -- cgit v1.2.3