diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 225739328..7a4a93e30 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -191,7 +191,7 @@ | |||
191 | "properties": { | 191 | "properties": { |
192 | "lsp.diagnostics": { | 192 | "lsp.diagnostics": { |
193 | "type": "boolean", | 193 | "type": "boolean", |
194 | "description": "Whether to show diagnostics from `cargo check`" | 194 | "markdownDescription": "Whether to show diagnostics from `cargo check`" |
195 | }, | 195 | }, |
196 | "completion.insertion.add-call-parenthesis": { | 196 | "completion.insertion.add-call-parenthesis": { |
197 | "type": "boolean", | 197 | "type": "boolean", |
@@ -203,7 +203,7 @@ | |||
203 | }, | 203 | }, |
204 | "completion.enable-postfix": { | 204 | "completion.enable-postfix": { |
205 | "type": "boolean", | 205 | "type": "boolean", |
206 | "description": "Whether to show postfix snippets like `dbg`, `if`, `not`, etc." | 206 | "markdownDescription": "Whether to show postfix snippets like `dbg`, `if`, `not`, etc." |
207 | }, | 207 | }, |
208 | "call-info.full": { | 208 | "call-info.full": { |
209 | "type": "boolean", | 209 | "type": "boolean", |
@@ -211,14 +211,19 @@ | |||
211 | }, | 211 | }, |
212 | "notifications.workspace-loaded": { | 212 | "notifications.workspace-loaded": { |
213 | "type": "boolean", | 213 | "type": "boolean", |
214 | "description": "Whether to show `workspace loaded` message" | 214 | "markdownDescription": "Whether to show `workspace loaded` message" |
215 | }, | 215 | }, |
216 | "notifications.cargo-toml-not-found": { | 216 | "notifications.cargo-toml-not-found": { |
217 | "type": "boolean", | 217 | "type": "boolean", |
218 | "description": "Whether to show `can't find Cargo.toml` error message" | 218 | "markdownDescription": "Whether to show `can't find Cargo.toml` error message" |
219 | } | 219 | } |
220 | } | 220 | } |
221 | }, | 221 | }, |
222 | "rust-analyzer.updates.askBeforeDownload": { | ||
223 | "type": "boolean", | ||
224 | "default": true, | ||
225 | "description": "Whether to ask for permission before downloading any files from the Internet" | ||
226 | }, | ||
222 | "rust-analyzer.serverPath": { | 227 | "rust-analyzer.serverPath": { |
223 | "type": [ | 228 | "type": [ |
224 | "null", | 229 | "null", |
@@ -251,24 +256,24 @@ | |||
251 | "rust-analyzer.cargo-watch.enable": { | 256 | "rust-analyzer.cargo-watch.enable": { |
252 | "type": "boolean", | 257 | "type": "boolean", |
253 | "default": true, | 258 | "default": true, |
254 | "description": "Run `cargo check` for diagnostics on save" | 259 | "markdownDescription": "Run `cargo check` for diagnostics on save" |
255 | }, | 260 | }, |
256 | "rust-analyzer.cargo-watch.arguments": { | 261 | "rust-analyzer.cargo-watch.arguments": { |
257 | "type": "array", | 262 | "type": "array", |
258 | "items": { | 263 | "items": { |
259 | "type": "string" | 264 | "type": "string" |
260 | }, | 265 | }, |
261 | "description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )", | 266 | "markdownDescription": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )", |
262 | "default": [] | 267 | "default": [] |
263 | }, | 268 | }, |
264 | "rust-analyzer.cargo-watch.command": { | 269 | "rust-analyzer.cargo-watch.command": { |
265 | "type": "string", | 270 | "type": "string", |
266 | "description": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )", | 271 | "markdownDescription": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )", |
267 | "default": "check" | 272 | "default": "check" |
268 | }, | 273 | }, |
269 | "rust-analyzer.cargo-watch.allTargets": { | 274 | "rust-analyzer.cargo-watch.allTargets": { |
270 | "type": "boolean", | 275 | "type": "boolean", |
271 | "description": "Check all targets and tests (will be passed as `--all-targets`)", | 276 | "markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)", |
272 | "default": true | 277 | "default": true |
273 | }, | 278 | }, |
274 | "rust-analyzer.trace.server": { | 279 | "rust-analyzer.trace.server": { |
@@ -320,7 +325,7 @@ | |||
320 | "rust-analyzer.cargoFeatures.noDefaultFeatures": { | 325 | "rust-analyzer.cargoFeatures.noDefaultFeatures": { |
321 | "type": "boolean", | 326 | "type": "boolean", |
322 | "default": false, | 327 | "default": false, |
323 | "description": "Do not activate the `default` feature" | 328 | "markdownDescription": "Do not activate the `default` feature" |
324 | }, | 329 | }, |
325 | "rust-analyzer.cargoFeatures.allFeatures": { | 330 | "rust-analyzer.cargoFeatures.allFeatures": { |
326 | "type": "boolean", | 331 | "type": "boolean", |