Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json35
1 files changed, 35 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 82c43b76fd..46f7803c8a 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -425,6 +425,41 @@
],
"default": "openLogs",
"markdownDescription": "Action to run when clicking the extension status bar item."
+ },
+ "rust-analyzer.statusBar.documentSelector": {
+ "type": [
+ "array",
+ "null"
+ ],
+ "items": {
+ "type": "object",
+ "properties": {
+ "language": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "pattern": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ }
+ },
+ "default": [
+ {
+ "language": "rust"
+ },
+ {
+ "pattern": "**/Cargo.toml"
+ },
+ {
+ "pattern": "**/Cargo.lock"
+ }
+ ],
+ "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."
}
}
},