about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-11-04 23:30:48 +0000
committerbors <bors@rust-lang.org>2022-11-04 23:30:48 +0000
commit66900a7e05313242d997a61e896d4f7ff1c8ead0 (patch)
tree4b2ab343b194ecc8399f3c3aa975e06aae843acf
parentcd2603299c4ea2a82511e4dc4a876ff2a05fe26e (diff)
parent26b56210185bcba16feff469e04ab0d22e30acb2 (diff)
downloadrust-66900a7e05313242d997a61e896d4f7ff1c8ead0.tar.gz
rust-66900a7e05313242d997a61e896d4f7ff1c8ead0.zip
Auto merge of #13541 - Veykril:dbg-cmd, r=Veykril
Clarify what commands are debug commands in VSCode

Renders as
![image](https://user-images.githubusercontent.com/3757771/199828895-4d7691f6-5c33-405c-9842-691b32745919.png)
-rw-r--r--editors/code/package.json28
1 files changed, 14 insertions, 14 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 8e8b59159db..1a97a9c0893 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -100,22 +100,32 @@
             {
                 "command": "rust-analyzer.syntaxTree",
                 "title": "Show Syntax Tree",
-                "category": "rust-analyzer"
+                "category": "rust-analyzer (debug command)"
             },
             {
                 "command": "rust-analyzer.viewHir",
                 "title": "View Hir",
-                "category": "rust-analyzer"
+                "category": "rust-analyzer (debug command)"
             },
             {
                 "command": "rust-analyzer.viewFileText",
                 "title": "View File Text (as seen by the server)",
-                "category": "rust-analyzer"
+                "category": "rust-analyzer (debug command)"
             },
             {
                 "command": "rust-analyzer.viewItemTree",
                 "title": "Debug ItemTree",
-                "category": "rust-analyzer"
+                "category": "rust-analyzer (debug command)"
+            },
+            {
+                "command": "rust-analyzer.shuffleCrateGraph",
+                "title": "Shuffle Crate Graph",
+                "category": "rust-analyzer (debug command)"
+            },
+            {
+                "command": "rust-analyzer.memoryUsage",
+                "title": "Memory Usage (Clears Database)",
+                "category": "rust-analyzer (debug command)"
             },
             {
                 "command": "rust-analyzer.viewCrateGraph",
@@ -173,16 +183,6 @@
                 "category": "rust-analyzer"
             },
             {
-                "command": "rust-analyzer.memoryUsage",
-                "title": "Memory Usage (Clears Database)",
-                "category": "rust-analyzer"
-            },
-            {
-                "command": "rust-analyzer.shuffleCrateGraph",
-                "title": "Shuffle Crate Graph",
-                "category": "rust-analyzer"
-            },
-            {
                 "command": "rust-analyzer.reloadWorkspace",
                 "title": "Reload workspace",
                 "category": "rust-analyzer"