Skip to content

Commit 5b3d97e

Browse files
bors[bot]vbfox
andauthored
Merge #3521
3521: Use markdown description in vscode r=matklad a=vbfox By using `markdownDescription` the markdown in the description is parsed and displayed. Before: ![image](https://user-images.githubusercontent.com/131878/76171725-cb2a0380-618e-11ea-956f-7668a746946f.png) After: ![image](https://user-images.githubusercontent.com/131878/76171743-00365600-618f-11ea-8847-f4ab09639bb5.png) Co-authored-by: Julien Roncaglia <julien@roncaglia.fr>
2 parents aff82cf + a231172 commit 5b3d97e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

editors/code/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
"properties": {
192192
"lsp.diagnostics": {
193193
"type": "boolean",
194-
"description": "Whether to show diagnostics from `cargo check`"
194+
"markdownDescription": "Whether to show diagnostics from `cargo check`"
195195
},
196196
"completion.insertion.add-call-parenthesis": {
197197
"type": "boolean",
@@ -203,19 +203,19 @@
203203
},
204204
"completion.enable-postfix": {
205205
"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."
207207
},
208208
"call-info.full": {
209209
"type": "boolean",
210210
"description": "Show function name and docs in parameter hints"
211211
},
212212
"notifications.workspace-loaded": {
213213
"type": "boolean",
214-
"description": "Whether to show `workspace loaded` message"
214+
"markdownDescription": "Whether to show `workspace loaded` message"
215215
},
216216
"notifications.cargo-toml-not-found": {
217217
"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"
219219
}
220220
}
221221
},
@@ -251,24 +251,24 @@
251251
"rust-analyzer.cargo-watch.enable": {
252252
"type": "boolean",
253253
"default": true,
254-
"description": "Run `cargo check` for diagnostics on save"
254+
"markdownDescription": "Run `cargo check` for diagnostics on save"
255255
},
256256
"rust-analyzer.cargo-watch.arguments": {
257257
"type": "array",
258258
"items": {
259259
"type": "string"
260260
},
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\"\"` )",
262262
"default": []
263263
},
264264
"rust-analyzer.cargo-watch.command": {
265265
"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` )",
267267
"default": "check"
268268
},
269269
"rust-analyzer.cargo-watch.allTargets": {
270270
"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`)",
272272
"default": true
273273
},
274274
"rust-analyzer.trace.server": {
@@ -320,7 +320,7 @@
320320
"rust-analyzer.cargoFeatures.noDefaultFeatures": {
321321
"type": "boolean",
322322
"default": false,
323-
"description": "Do not activate the `default` feature"
323+
"markdownDescription": "Do not activate the `default` feature"
324324
},
325325
"rust-analyzer.cargoFeatures.allFeatures": {
326326
"type": "boolean",

0 commit comments

Comments
 (0)