about summary refs log tree commit diff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authordfireBird <me@dfirebird.dev>2023-10-04 10:14:03 +0530
committerdfireBird <me@dfirebird.dev>2023-10-04 21:07:50 +0530
commitab091b73d0117d9788549289d3cd1ac709b462dd (patch)
treefb5dabff0936946bf093738277acb7c1ca1ed45d /editors/code/package.json
parent7b8330f2837961e01ce643cd204943d2967debab (diff)
downloadrust-ab091b73d0117d9788549289d3cd1ac709b462dd.tar.gz
rust-ab091b73d0117d9788549289d3cd1ac709b462dd.zip
Add config for the default click action of extension status bar
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 63958856634..349f49465e3 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -371,6 +371,19 @@
                     ],
                     "markdownDescription": "Problem matchers to use for `rust-analyzer.run` command, eg `[\"$rustc\", \"$rust-panic\"]`."
                 },
+                "rust-analyzer.statusBar.clickAction": {
+                    "type": "string",
+                    "enum": [
+                        "stopServer",
+                        "openLogs"
+                    ],
+                    "enumDescriptions": [
+                        "Stop Server",
+                        "Open Logs"
+                    ],
+                    "default": "openLogs",
+                    "markdownDescription": "Action to run when clicking the extension status bar item."
+                },
                 "rust-analyzer.server.path": {
                     "type": [
                         "null",