aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-03-08 22:11:22 +0000
committerGitHub <[email protected]>2020-03-08 22:11:22 +0000
commit5b3d97e449690cfb75ccf48ca5a92f7f7a95ea5e (patch)
treeca5a02888d82f9777acb81ebe25b29fff3d0a805 /editors
parentaff82cf7ac172f213cb5dcca637cb2c5332294c1 (diff)
parenta231172283579b019bc4ab7075e855b73ad56cc3 (diff)
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 <[email protected]>
Diffstat (limited to 'editors')
-rw-r--r--editors/code/package.json18
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",