aboutsummaryrefslogtreecommitdiff
path: root/editors/code/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json40
1 files changed, 10 insertions, 30 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 6cb24a3ce..5f4123397 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -188,20 +188,10 @@
188 "default": "ra_lsp_server", 188 "default": "ra_lsp_server",
189 "description": "Path to ra_lsp_server executable" 189 "description": "Path to ra_lsp_server executable"
190 }, 190 },
191 "rust-analyzer.enableCargoWatchOnStartup": { 191 "rust-analyzer.enableCargoCheck": {
192 "type": "string", 192 "type": "boolean",
193 "default": "ask", 193 "default": true,
194 "enum": [ 194 "description": "Run `cargo check` for diagnostics on save"
195 "ask",
196 "enabled",
197 "disabled"
198 ],
199 "enumDescriptions": [
200 "Asks each time whether to run `cargo watch`",
201 "`cargo watch` is always started",
202 "Don't start `cargo watch`"
203 ],
204 "description": "Whether to run `cargo watch` on startup"
205 }, 195 },
206 "rust-analyzer.excludeGlobs": { 196 "rust-analyzer.excludeGlobs": {
207 "type": "array", 197 "type": "array",
@@ -213,25 +203,15 @@
213 "default": true, 203 "default": true,
214 "description": "client provided file watching instead of notify watching." 204 "description": "client provided file watching instead of notify watching."
215 }, 205 },
216 "rust-analyzer.cargo-watch.arguments": { 206 "rust-analyzer.cargo-check.arguments": {
217 "type": "string",
218 "description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )",
219 "default": ""
220 },
221 "rust-analyzer.cargo-watch.command": {
222 "type": "string",
223 "description": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )",
224 "default": "check"
225 },
226 "rust-analyzer.cargo-watch.ignore": {
227 "type": "array", 207 "type": "array",
228 "description": "A list of patterns for cargo-watch to ignore (will be passed as `--ignore`)", 208 "description": "`cargo-check` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo check --features=\"shumway,pdf\"` )",
229 "default": [] 209 "default": []
230 }, 210 },
231 "rust-analyzer.cargo-watch.allTargets": { 211 "rust-analyzer.cargo-check.command": {
232 "type": "boolean", 212 "type": "string",
233 "description": "Check all targets and tests (will be passed as `--all-targets`)", 213 "description": "`cargo-check` command. (e.g: `clippy` will run as `cargo clippy` )",
234 "default": true 214 "default": "check"
235 }, 215 },
236 "rust-analyzer.trace.server": { 216 "rust-analyzer.trace.server": {
237 "type": "string", 217 "type": "string",