Skip to content

Commit

Permalink
Add separators to context menu (#127)
Browse files Browse the repository at this point in the history
Separates webview context menu items into
different groups for clarity.
  • Loading branch information
planger authored Apr 22, 2024
1 parent e469d74 commit 36b8d0e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@
},
{
"command": "memory-inspector.store-file",
"title": "Store Memory to File",
"title": "Store Memory to File...",
"enablement": "memory-inspector.canRead",
"category": "Memory"
},
{
"command": "memory-inspector.apply-file",
"title": "Apply Memory from File",
"title": "Apply Memory from File...",
"enablement": "memory-inspector.canWrite",
"category": "Memory"
}
Expand Down Expand Up @@ -172,32 +172,32 @@
"webview/context": [
{
"command": "memory-inspector.toggle-variables-column",
"group": "display@1",
"group": "a_display@1",
"when": "webviewId === memory-inspector.memory"
},
{
"command": "memory-inspector.toggle-ascii-column",
"group": "display@2",
"group": "a_display@2",
"when": "webviewId === memory-inspector.memory"
},
{
"command": "memory-inspector.toggle-radix-prefix",
"group": "display@3",
"group": "a_display@3",
"when": "webviewId === memory-inspector.memory"
},
{
"command": "memory-inspector.show-advanced-display-options",
"group": "display@4",
"command": "memory-inspector.store-file",
"group": "c_store-and-restore@1",
"when": "webviewId === memory-inspector.memory"
},
{
"command": "memory-inspector.store-file",
"group": "display@5",
"command": "memory-inspector.apply-file",
"group": "c_store-and-restore@2",
"when": "webviewId === memory-inspector.memory"
},
{
"command": "memory-inspector.apply-file",
"group": "display@6",
"command": "memory-inspector.show-advanced-display-options",
"group": "z_more",
"when": "webviewId === memory-inspector.memory"
}
]
Expand Down Expand Up @@ -382,4 +382,4 @@
"extensionKind": [
"ui"
]
}
}

0 comments on commit 36b8d0e

Please sign in to comment.