aboutsummaryrefslogtreecommitdiff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-06-24 12:03:28 +0100
committerbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-06-24 12:03:28 +0100
commit364ac9b9468e1930f39e0dddc454b2eb7d68f360 (patch)
tree3e509c7b96be33f8b5d1fcb0ebd601e15aaf057f /editors/code/package.json
parentf6340022c1ce9bfa716b4b61800cdc8c51260a93 (diff)
parent28e9e8d4cfdf2a334cde6db7d10e7acb8f5fe8b1 (diff)
Merge #1434
1434: Introduce cargo-watch.check-command option for Code extension r=matklad a=alekseysidorov By this option you can replace `check` command in `cargo watch` by the something else like `clippy`. Co-authored-by: Aleksei Sidorov <[email protected]> Co-authored-by: Aleksey Sidorov <[email protected]>
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json9
1 files changed, 7 insertions, 2 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index c2ed8d126..ac2ba82e3 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -201,11 +201,16 @@
201 ], 201 ],
202 "description": "Whether to run `cargo watch` on startup" 202 "description": "Whether to run `cargo watch` on startup"
203 }, 203 },
204 "rust-analyzer.cargo-watch.check-arguments": { 204 "rust-analyzer.cargo-watch.arguments": {
205 "type": "string", 205 "type": "string",
206 "description": "`cargo-watch` check 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\"\"` )",
207 "default": "" 207 "default": ""
208 }, 208 },
209 "rust-analyzer.cargo-watch.command": {
210 "type": "string",
211 "description": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )",
212 "default": "check"
213 },
209 "rust-analyzer.trace.server": { 214 "rust-analyzer.trace.server": {
210 "type": "string", 215 "type": "string",
211 "scope": "window", 216 "scope": "window",