aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
authorAleksey Sidorov <[email protected]>2019-06-24 11:35:11 +0100
committerGitHub <[email protected]>2019-06-24 11:35:11 +0100
commitc40ee089f221aa1be74614d7ad875488030e55ff (patch)
tree29beaf6166bfd7377fd8156267ba74c741fa796b /editors/code
parentb1bc629b83c65c0a3cc0e47a3f55969b9bab950e (diff)
Apply suggestions from code review
Co-Authored-By: Aleksey Kladov <[email protected]>
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/package.json4
-rw-r--r--editors/code/src/config.ts4
2 files changed, 4 insertions, 4 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index e4fc682df..02a9b7e5b 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -201,12 +201,12 @@
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.command-arguments": {
205 "type": "string", 205 "type": "string",
206 "description": "`cargo-watch` 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.check-command": { 209 "rust-analyzer.cargo-watch.command": {
210 "type": "string", 210 "type": "string",
211 "description": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )", 211 "description": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )",
212 "default": "check" 212 "default": "check"
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts
index db46874dc..c1dd2c056 100644
--- a/editors/code/src/config.ts
+++ b/editors/code/src/config.ts
@@ -10,8 +10,8 @@ export type CargoWatchTraceOptions = 'off' | 'error' | 'verbose';
10 10
11export interface CargoWatchOptions { 11export interface CargoWatchOptions {
12 enableOnStartup: CargoWatchStartupOptions; 12 enableOnStartup: CargoWatchStartupOptions;
13 checkArguments: string; 13 arguments: string;
14 checkCommand: string; 14 command: string;
15 trace: CargoWatchTraceOptions; 15 trace: CargoWatchTraceOptions;
16} 16}
17 17