diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-06-24 12:03:28 +0100 |
---|---|---|
committer | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-06-24 12:03:28 +0100 |
commit | 364ac9b9468e1930f39e0dddc454b2eb7d68f360 (patch) | |
tree | 3e509c7b96be33f8b5d1fcb0ebd601e15aaf057f /editors/code/package.json | |
parent | f6340022c1ce9bfa716b4b61800cdc8c51260a93 (diff) | |
parent | 28e9e8d4cfdf2a334cde6db7d10e7acb8f5fe8b1 (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.json | 9 |
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", |