Skip to content

Commit 66900a7

Browse files
committed
Auto merge of rust-lang#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)
2 parents cd26032 + 26b5621 commit 66900a7

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

editors/code/package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -100,22 +100,32 @@
100100
{
101101
"command": "rust-analyzer.syntaxTree",
102102
"title": "Show Syntax Tree",
103-
"category": "rust-analyzer"
103+
"category": "rust-analyzer (debug command)"
104104
},
105105
{
106106
"command": "rust-analyzer.viewHir",
107107
"title": "View Hir",
108-
"category": "rust-analyzer"
108+
"category": "rust-analyzer (debug command)"
109109
},
110110
{
111111
"command": "rust-analyzer.viewFileText",
112112
"title": "View File Text (as seen by the server)",
113-
"category": "rust-analyzer"
113+
"category": "rust-analyzer (debug command)"
114114
},
115115
{
116116
"command": "rust-analyzer.viewItemTree",
117117
"title": "Debug ItemTree",
118-
"category": "rust-analyzer"
118+
"category": "rust-analyzer (debug command)"
119+
},
120+
{
121+
"command": "rust-analyzer.shuffleCrateGraph",
122+
"title": "Shuffle Crate Graph",
123+
"category": "rust-analyzer (debug command)"
124+
},
125+
{
126+
"command": "rust-analyzer.memoryUsage",
127+
"title": "Memory Usage (Clears Database)",
128+
"category": "rust-analyzer (debug command)"
119129
},
120130
{
121131
"command": "rust-analyzer.viewCrateGraph",
@@ -172,16 +182,6 @@
172182
"title": "Status",
173183
"category": "rust-analyzer"
174184
},
175-
{
176-
"command": "rust-analyzer.memoryUsage",
177-
"title": "Memory Usage (Clears Database)",
178-
"category": "rust-analyzer"
179-
},
180-
{
181-
"command": "rust-analyzer.shuffleCrateGraph",
182-
"title": "Shuffle Crate Graph",
183-
"category": "rust-analyzer"
184-
},
185185
{
186186
"command": "rust-analyzer.reloadWorkspace",
187187
"title": "Reload workspace",

0 commit comments

Comments
 (0)