From 9a10d02637fcea05717c2be02dfbbcb125eaf210 Mon Sep 17 00:00:00 2001 From: Ricardo Alves <112292689+ricxJr@users.noreply.github.com> Date: Tue, 27 Jan 2026 16:02:38 -0300 Subject: [PATCH 1/2] fix: remove invalid menu reference to editor.action.revealDefinition --- package.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/package.json b/package.json index 3d3ad57c..3b5b868d 100644 --- a/package.json +++ b/package.json @@ -103,6 +103,10 @@ "command": "vscode-objectscript.touchBar.viewOthers", "when": "false" }, + { + "command": "-editor.action.revealDefinition", + "when": "false" + }, { "command": "vscode-objectscript.compile", "when": "!(resourceScheme =~ /^isfs(-readonly)?$/) && editorLangId =~ /^objectscript/ && vscode-objectscript.connectActive && !activeEditorIsDirty" @@ -911,6 +915,11 @@ "title": "Insert Selection (Quick Pick)", "enablement": "inQuickOpen && vscode-objectscript.ccs.jumpToTagQuickPickActive" }, + { + "category": "ObjectScript (Internal)", + "command": "-editor.action.revealDefinition", + "title": "Remove built-in Go to Definition menu item" + }, { "category": "ObjectScript", "command": "vscode-objectscript.export", From bff0fee4de580ad82a82495cce149a503f26099f Mon Sep 17 00:00:00 2001 From: Ricardo Alves <112292689+ricxJr@users.noreply.github.com> Date: Wed, 28 Jan 2026 18:42:30 -0300 Subject: [PATCH 2/2] fix: adjust menu action to correctly reveal definition (#77) --- package.json | 5 ----- package.nls.json | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/package.json b/package.json index 3b5b868d..58c64267 100644 --- a/package.json +++ b/package.json @@ -915,11 +915,6 @@ "title": "Insert Selection (Quick Pick)", "enablement": "inQuickOpen && vscode-objectscript.ccs.jumpToTagQuickPickActive" }, - { - "category": "ObjectScript (Internal)", - "command": "-editor.action.revealDefinition", - "title": "Remove built-in Go to Definition menu item" - }, { "category": "ObjectScript", "command": "vscode-objectscript.export", diff --git a/package.nls.json b/package.nls.json index 0db3279e..bd265a58 100644 --- a/package.nls.json +++ b/package.nls.json @@ -1,3 +1,3 @@ { - + "command.removeBuiltinGoToDefinition": "\u200b" }