You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: editors/code/package.json
+44-29Lines changed: 44 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -426,40 +426,55 @@
426
426
"default": "openLogs",
427
427
"markdownDescription": "Action to run when clicking the extension status bar item."
428
428
},
429
-
"rust-analyzer.statusBar.documentSelector": {
430
-
"type": [
431
-
"array",
432
-
"null"
433
-
],
434
-
"items": {
435
-
"type": "object",
436
-
"properties": {
437
-
"language": {
438
-
"type": [
439
-
"string",
440
-
"null"
441
-
]
442
-
},
443
-
"pattern": {
444
-
"type": [
445
-
"string",
446
-
"null"
447
-
]
448
-
}
449
-
}
450
-
},
451
-
"default": [
452
-
{
453
-
"language": "rust"
454
-
},
429
+
"rust-analyzer.statusBar.showStatusBar": {
430
+
"markdownDescription": "When to show the extension status bar.\n\n`\"always\"` Always show the status bar.\n\n`\"never\"` Never show the status bar.\n\n`{ documentSelector: <DocumentSelector>[] }` Show the status bar if the open file matches any of the given document selectors.\n\nSee [VS Code -- DocumentSelector](https://code.visualstudio.com/api/references/document-selector) for more information.",
431
+
"anyOf": [
455
432
{
456
-
"pattern": "**/Cargo.toml"
433
+
"type": "string",
434
+
"enum": [
435
+
"always",
436
+
"never"
437
+
]
457
438
},
458
439
{
459
-
"pattern": "**/Cargo.lock"
440
+
"type": "object",
441
+
"properties": {
442
+
"documentSelector": {
443
+
"type": "array",
444
+
"items": {
445
+
"type": "object",
446
+
"properties": {
447
+
"language": {
448
+
"type": "string"
449
+
},
450
+
"notebookType": {
451
+
"type": "string"
452
+
},
453
+
"scheme": {
454
+
"type": "string"
455
+
},
456
+
"pattern": {
457
+
"type": "string"
458
+
}
459
+
}
460
+
}
461
+
}
462
+
}
460
463
}
461
464
],
462
-
"markdownDescription": "Determines when to show the extension status bar item based on the currently open file. Use `{ \"pattern\": \"**\" }` to always show. Use `null` to never show."
0 commit comments