From 36b8d0e4d733007ee43410a80472732ea18be6f0 Mon Sep 17 00:00:00 2001 From: Philip Langer Date: Mon, 22 Apr 2024 15:08:04 +0200 Subject: [PATCH] Add separators to context menu (#127) Separates webview context menu items into different groups for clarity. --- package.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index b873ef1..3f3a852 100644 --- a/package.json +++ b/package.json @@ -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" } @@ -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" } ] @@ -382,4 +382,4 @@ "extensionKind": [ "ui" ] -} +} \ No newline at end of file