diff options
author | Julien Roncaglia <[email protected]> | 2020-03-08 21:46:42 +0000 |
---|---|---|
committer | Julien Roncaglia <[email protected]> | 2020-03-08 21:46:42 +0000 |
commit | a231172283579b019bc4ab7075e855b73ad56cc3 (patch) | |
tree | ca5a02888d82f9777acb81ebe25b29fff3d0a805 | |
parent | aff82cf7ac172f213cb5dcca637cb2c5332294c1 (diff) |
Use markdown description in vscode
-rw-r--r-- | editors/code/package.json | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 225739328..fd44d2bd5 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,11 +211,11 @@ | |||
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 | }, |
@@ -251,24 +251,24 @@ | |||
251 | "rust-analyzer.cargo-watch.enable": { | 251 | "rust-analyzer.cargo-watch.enable": { |
252 | "type": "boolean", | 252 | "type": "boolean", |
253 | "default": true, | 253 | "default": true, |
254 | "description": "Run `cargo check` for diagnostics on save" | 254 | "markdownDescription": "Run `cargo check` for diagnostics on save" |
255 | }, | 255 | }, |
256 | "rust-analyzer.cargo-watch.arguments": { | 256 | "rust-analyzer.cargo-watch.arguments": { |
257 | "type": "array", | 257 | "type": "array", |
258 | "items": { | 258 | "items": { |
259 | "type": "string" | 259 | "type": "string" |
260 | }, | 260 | }, |
261 | "description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )", | 261 | "markdownDescription": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )", |
262 | "default": [] | 262 | "default": [] |
263 | }, | 263 | }, |
264 | "rust-analyzer.cargo-watch.command": { | 264 | "rust-analyzer.cargo-watch.command": { |
265 | "type": "string", | 265 | "type": "string", |
266 | "description": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )", | 266 | "markdownDescription": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )", |
267 | "default": "check" | 267 | "default": "check" |
268 | }, | 268 | }, |
269 | "rust-analyzer.cargo-watch.allTargets": { | 269 | "rust-analyzer.cargo-watch.allTargets": { |
270 | "type": "boolean", | 270 | "type": "boolean", |
271 | "description": "Check all targets and tests (will be passed as `--all-targets`)", | 271 | "markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)", |
272 | "default": true | 272 | "default": true |
273 | }, | 273 | }, |
274 | "rust-analyzer.trace.server": { | 274 | "rust-analyzer.trace.server": { |
@@ -320,7 +320,7 @@ | |||
320 | "rust-analyzer.cargoFeatures.noDefaultFeatures": { | 320 | "rust-analyzer.cargoFeatures.noDefaultFeatures": { |
321 | "type": "boolean", | 321 | "type": "boolean", |
322 | "default": false, | 322 | "default": false, |
323 | "description": "Do not activate the `default` feature" | 323 | "markdownDescription": "Do not activate the `default` feature" |
324 | }, | 324 | }, |
325 | "rust-analyzer.cargoFeatures.allFeatures": { | 325 | "rust-analyzer.cargoFeatures.allFeatures": { |
326 | "type": "boolean", | 326 | "type": "boolean", |