diff options
author | Edwin Cheng <[email protected]> | 2019-04-02 07:43:02 +0100 |
---|---|---|
committer | Edwin Cheng <[email protected]> | 2019-04-02 08:03:31 +0100 |
commit | 02e450f354ccd978c90425929c635139210843a3 (patch) | |
tree | 008e2bc12c024b480d86a4dae7194b976cad494d /editors/code/package.json | |
parent | ee05eafe6c657c3d3710655e11d88d61bc5febf0 (diff) |
Add cargo-watch.check-arguments
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index cc364d478..1c8caaa60 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -184,6 +184,11 @@ | |||
184 | ], | 184 | ], |
185 | "description": "Whether to run `cargo watch` on startup" | 185 | "description": "Whether to run `cargo watch` on startup" |
186 | }, | 186 | }, |
187 | "rust-analyzer.cargo-watch.check-arguments": { | ||
188 | "type": "string", | ||
189 | "description": "`cargo-watch` check arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )", | ||
190 | "default": "" | ||
191 | }, | ||
187 | "rust-analyzer.trace.server": { | 192 | "rust-analyzer.trace.server": { |
188 | "type": "string", | 193 | "type": "string", |
189 | "scope": "window", | 194 | "scope": "window", |
@@ -192,6 +197,11 @@ | |||
192 | "messages", | 197 | "messages", |
193 | "verbose" | 198 | "verbose" |
194 | ], | 199 | ], |
200 | "enumDescriptions": [ | ||
201 | "No traces", | ||
202 | "Error only", | ||
203 | "Full log" | ||
204 | ], | ||
195 | "default": "off", | 205 | "default": "off", |
196 | "description": "Trace requests to the ra_lsp_server" | 206 | "description": "Trace requests to the ra_lsp_server" |
197 | }, | 207 | }, |