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: src/tools/rust-analyzer/editors/code/package.json
+35Lines changed: 35 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -425,6 +425,41 @@
425
425
],
426
426
"default": "openLogs",
427
427
"markdownDescription": "Action to run when clicking the extension status bar item."
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
+
},
455
+
{
456
+
"pattern": "**/Cargo.toml"
457
+
},
458
+
{
459
+
"pattern": "**/Cargo.lock"
460
+
}
461
+
],
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