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)
This commit is contained in:
bors 2022-11-04 23:30:48 +00:00
commit 66900a7e05

View File

@ -100,22 +100,32 @@
{ {
"command": "rust-analyzer.syntaxTree", "command": "rust-analyzer.syntaxTree",
"title": "Show Syntax Tree", "title": "Show Syntax Tree",
"category": "rust-analyzer" "category": "rust-analyzer (debug command)"
}, },
{ {
"command": "rust-analyzer.viewHir", "command": "rust-analyzer.viewHir",
"title": "View Hir", "title": "View Hir",
"category": "rust-analyzer" "category": "rust-analyzer (debug command)"
}, },
{ {
"command": "rust-analyzer.viewFileText", "command": "rust-analyzer.viewFileText",
"title": "View File Text (as seen by the server)", "title": "View File Text (as seen by the server)",
"category": "rust-analyzer" "category": "rust-analyzer (debug command)"
}, },
{ {
"command": "rust-analyzer.viewItemTree", "command": "rust-analyzer.viewItemTree",
"title": "Debug ItemTree", "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", "command": "rust-analyzer.viewCrateGraph",
@ -172,16 +182,6 @@
"title": "Status", "title": "Status",
"category": "rust-analyzer" "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", "command": "rust-analyzer.reloadWorkspace",
"title": "Reload workspace", "title": "Reload workspace",