diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 3e8cde388..facb633d9 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -169,9 +169,19 @@ | |||
169 | "description": "Path to ra_lsp_server executable" | 169 | "description": "Path to ra_lsp_server executable" |
170 | }, | 170 | }, |
171 | "rust-analyzer.enableCargoWatchOnStartup": { | 171 | "rust-analyzer.enableCargoWatchOnStartup": { |
172 | "type": "boolean", | 172 | "type": "string", |
173 | "default": "true", | 173 | "default": "ask", |
174 | "description": "When enabled, ask the user whether to run `cargo watch` on startup" | 174 | "enum": [ |
175 | "ask", | ||
176 | "enabled", | ||
177 | "disabled" | ||
178 | ], | ||
179 | "enumDescriptions": [ | ||
180 | "Asks each time whether to run `cargo watch`", | ||
181 | "`cargo watch` is always started", | ||
182 | "Don't start `cargo watch`" | ||
183 | ], | ||
184 | "description": "Whether to run `cargo watch` on startup" | ||
175 | }, | 185 | }, |
176 | "rust-analyzer.trace.server": { | 186 | "rust-analyzer.trace.server": { |
177 | "type": "string", | 187 | "type": "string", |