From dee4b18c0a547b6d4e396b01275084322b8ba07f Mon Sep 17 00:00:00 2001 From: Rahul-Bhati Date: Sun, 20 Oct 2024 18:13:03 +0530 Subject: [PATCH 1/2] remove dublicates --- extension/src/commanding/commands.ts | 159 +++++++++++---------------- 1 file changed, 63 insertions(+), 96 deletions(-) diff --git a/extension/src/commanding/commands.ts b/extension/src/commanding/commands.ts index d8fd0e5..860bfb5 100644 --- a/extension/src/commanding/commands.ts +++ b/extension/src/commanding/commands.ts @@ -31,44 +31,39 @@ export const BuiltInCommands = { "Select Text Page Down": "cursorPageDownSelect", "Move Cursor Page Up": "cursorPageUp", "Select Text Page Up": "cursorPageUpSelect", - "Move Cursor Right": "cursorRight", + "Move Cursor Right": "cursorRight", "Select Text Right": "cursorRightSelect", "Move Cursor to Top": "cursorTop", - "Select Text to Top": "cursorTopSelect", + "Select Text to Top": "cursorTopSelect", "Move Cursor Up": "cursorUp", "Select Text Up": "cursorUpSelect", "Delete Left": "deleteLeft", "Delete Right": "deleteRight", "Select All": "editor.action.selectAll", - Copy: "execCopy", - Cut: "execCut", - Paste: "execPaste", + "Copy": "execCopy", + "Cut": "execCut", + "Paste": "execPaste", "Expand Line Selection": "expandLineSelection", "Inline Chat Arrow Out Down": "inlineChat.arrowOutDown", "Inline Chat Arrow Out Up": "inlineChat.arrowOutUp", - "Insert Line Break": "lineBreakInsert", - Outdent: "outdent", - Redo: "redo", + "Insert Line Break": "lineBreakInsert", + "Outdent": "outdent", + "Redo": "redo", "Scroll Line Down": "scrollLineDown", "Scroll Line Up": "scrollLineUp", - "Scroll Page Down": "scrollPageDown", + "Scroll Page Down": "scrollPageDown", "Scroll Page Up": "scrollPageUp", - Tab: "tab", - Undo: "undo", + "Tab": "tab", + "Undo": "undo", "Remove Secondary Cursors": "removeSecondaryCursors", "Notebook Cell Chat Arrow Out Down": "notebook.cell.chat.arrowOutDown", "Notebook Cell Chat Arrow Out Up": "notebook.cell.chat.arrowOutUp", "Focus Chat Widget": "notebook.cell.focusChatWidget", - "Focus Next Chat Widget": "notebook.cell.focusNextChatWidget", + "Focus Next Chat Widget": "notebook.cell.focusNextChatWidget", "Inline Chat Focus": "inlineChat.focus", "Accept Notebook Cell Chat Changes": "notebook.cell.chat.acceptChanges", "Next From Notebook Cell Chat History": "notebook.cell.chat.nextFromHistory", - "Previous From Notebook Cell Chat History": - "notebook.cell.chat.previousFromHistory", - "Go To Next Reference": "goToNextReference", - "Go To Previous Reference": "goToPreviousReference", - "Apply Refactor Preview": "refactorPreview.apply", - "Edit Focused Test": "testing.editFocusedTest", + "Previous From Notebook Cell Chat History": "notebook.cell.chat.previousFromHistory", "Quit Notebook Cell Edit": "notebook.cell.quitEdit", "Discard Inline Chat": "inlineChat.discard", Find: "actions.find", @@ -77,9 +72,9 @@ export const BuiltInCommands = { "Focus Chat Action": "chat.action.focus", "Close Breakpoint Widget": "closeBreakpointWidget", "Cursor Undo": "cursorUndo", - "Cursor Word End Right": "cursorWordEndRight", + "Cursor Word End Right": "cursor "Select Word End Right": "cursorWordEndRightSelect", - "Cursor Word Left": "cursorWordLeft", + "Cursor Word Left": "cursorWordLeft", "Select Word Left": "cursorWordLeftSelect", "Cursor Word Part Left": "cursorWordPartLeft", "Select Word Part Left": "cursorWordPartLeftSelect", @@ -94,15 +89,14 @@ export const BuiltInCommands = { "Next Accessible Diff Viewer": "editor.action.accessibleDiffViewer.next", "Previous Accessible Diff Viewer": "editor.action.accessibleDiffViewer.prev", "Add Comment Line": "editor.action.addCommentLine", - "Add Selection To Next Find Match": - "editor.action.addSelectionToNextFindMatch", + "Add Selection To Next Find Match": "editor.action.addSelectionToNextFindMatch", "Auto Fix": "editor.action.autoFix", "Block Comment": "editor.action.blockComment", - "Cancel Selection Anchor": "editor.action.cancelSelectionAnchor", + "Cancel Selection Anchor": "editor.action.cancelSelectionAnchor", "Change All": "editor.action.changeAll", "Clipboard Copy Action": "editor.action.clipboardCopyAction", "Clipboard Cut Action": "editor.action.clipboardCutAction", - "Clipboard Paste Action": "editor.action.clipboardPasteAction", + "Clipboard Paste Action": "editor.action.clipboardPasteAction", "Comment Line": "editor.action.commentLine", "Copy Lines Down Action": "editor.action.copyLinesDownAction", "Copy Lines Up Action": "editor.action.copyLinesUpAction", @@ -110,45 +104,39 @@ export const BuiltInCommands = { "Next Dirty Diff": "editor.action.dirtydiff.next", "Previous Dirty Diff": "editor.action.dirtydiff.previous", "Find Next in Extension Editor": "editor.action.extensioneditor.findNext", - "Find Previous in Extension Editor": - "editor.action.extensioneditor.findPrevious", + "Find Previous in Extension Editor": "editor.action.extensioneditor.findPrevious", "Show Find in Extension Editor": "editor.action.extensioneditor.showfind", "Format Document": "editor.action.formatDocument", "Format Selection": "editor.action.formatSelection", "Go To Bottom Hover": "editor.action.goToBottomHover", - "Go To Focused Sticky Scroll Line": - "editor.action.goToFocusedStickyScrollLine", - "Go To Implementation": "editor.action.goToImplementation", + "Go To Focused Sticky Scroll Line": "editor.action.goToFocusedStickyScrollLine", + "Go To Implementation": "editor.action.goToImplementation", "Go To References": "editor.action.goToReferences", "Go To Top Hover": "editor.action.goToTopHover", "Hide Color Picker": "editor.action.hideColorPicker", "In Place Replace Down": "editor.action.inPlaceReplace.down", "In Place Replace Up": "editor.action.inPlaceReplace.up", "Indent Lines": "editor.action.indentLines", - "Reject Inline Edit": "editor.action.inlineEdit.reject", "Hide Inline Edits": "editor.action.inlineEdits.hide", - "Show Next Inline Edits": "editor.action.inlineEdits.showNext", + "Show Next Inline Edits": "editor.action.inlineEdits.showNext", "Show Previous Inline Edits": "editor.action.inlineEdits.showPrevious", "Hide Inline Suggest": "editor.action.inlineSuggest.hide", "Show Next Inline Suggest": "editor.action.inlineSuggest.showNext", "Show Previous Inline Suggest": "editor.action.inlineSuggest.showPrevious", - "Insert Color With Standalone Color Picker": - "editor.action.insertColorWithStandaloneColorPicker", + "Insert Color With Standalone Color Picker": "editor.action.insertColorWithStandaloneColorPicker", "Insert Cursor Above": "editor.action.insertCursorAbove", - "Insert Cursor At End Of Each Line Selected": - "editor.action.insertCursorAtEndOfEachLineSelected", + "Insert Cursor At End Of Each Line Selected": "editor.action.insertCursorAtEndOfEachLineSelected", "Insert Cursor Below": "editor.action.insertCursorBelow", "Insert Line After": "editor.action.insertLineAfter", "Insert Line Before": "editor.action.insertLineBefore", "Join Lines": "editor.action.joinLines", "Jump To Bracket": "editor.action.jumpToBracket", - "Linked Editing": "editor.action.linkedEditing", + "Linked Editing": "editor.action.linkedEditing", "Next Marker": "editor.action.marker.next", "Next Marker In Files": "editor.action.marker.nextInFiles", "Previous Marker": "editor.action.marker.prev", "Previous Marker In Files": "editor.action.marker.prevInFiles", "Move Lines Down Action": "editor.action.moveLinesDownAction", - "Move Lines Up Action": "editor.action.moveLinesUpAction", "Move Selection To Next Find Match": "editor.action.moveSelectionToNextFindMatch", "Next Comment Thread Action": "editor.action.nextCommentThreadAction", @@ -168,10 +156,10 @@ export const BuiltInCommands = { "Previous Selection Match Find Action": "editor.action.previousSelectionMatchFindAction", "Quick Fix": "editor.action.quickFix", - Refactor: "editor.action.refactor", + "Refactor": "editor.action.refactor", "Remove Brackets": "editor.action.removeBrackets", "Remove Comment Line": "editor.action.removeCommentLine", - Rename: "editor.action.rename", + "Rename": "editor.action.rename", "Reveal Definition": "editor.action.revealDefinition", "Reveal definition": "editor.action.revealDefinition", "Reveal definition aside": "editor.action.revealDefinitionAside", @@ -198,7 +186,7 @@ export const BuiltInCommands = { "Trigger parameter hints": "editor.action.triggerParameterHints", "Trigger suggest": "editor.action.triggerSuggest", "Trim trailing whitespace": "editor.action.trimTrailingWhitespace", - "Find next in webview editor": "editor.action.webvieweditor.findNext", + "Find next in webview editor": "editor.action.webditor.findNext", "Find previous in webview editor": "editor.action.webvieweditor.findPrevious", "Hide find in webview editor": "editor.action.webvieweditor.hideFind", "Show find in webview editor": "editor.action.webvieweditor.showFind", @@ -237,30 +225,29 @@ export const BuiltInCommands = { "Toggle fold in editor": "editor.toggleFold", "Toggle fold recursively in editor": "editor.toggleFoldRecursively", "Unfold editor": "editor.unfold", - "Unfold all in editor": "editor.unfoldAll", + "Unfold all in editor": "editor.unfoldAll", "Unfold all except in editor": "editor.unfoldAllExcept", "Unfold all marker regions in editor": "editor.unfoldAllMarkerRegions", "Unfold recursively in editor": "editor.unfoldRecursively", - "Stop reading line with hint": "inlayHints.stopReadingLineWithHint", + "Stop reading line with hint": "inlayHints.stopReadingLineWithHint", "Insert snippet": "insertSnippet", "Execute in interactive": "interactive.execute", "Discard cell chat in notebook": "notebook.cell.chat.discard", "Cursor page down in notebook cell": "notebook.cell.cursorPageDown", - "Cursor page down select in notebook cell": + "Cursor page down select in notebook cell": "notebook.cell.cursorPageDownSelect", "Cursor page up in notebook cell": "notebook.cell.cursorPageUp", "Cursor page up select in notebook cell": "notebook.cell.cursorPageUpSelect", "Execute notebook cell": "notebook.cell.execute", "Execute and insert below notebook cell": - "notebook.cell.executeAndInsertBelow", + "notebook.cell.executeAndInsertBelow", "Execute and select below notebook cell": "notebook.cell.executeAndSelectBelow", "Paste above notebook cell": "notebook.cell.pasteAbove", "Focus next editor in notebook": "notebook.focusNextEditor", "Focus previous editor in notebook": "notebook.focusPreviousEditor", "Format cell in notebook": "notebook.formatCell", - "Open reference to side": "openReferenceToSide", - "Accept input in repl action": "repl.action.acceptInput", + "Accept input in repl action": "repl.action.acceptInput", "Filter in repl action": "repl.action.filter", "Find in repl action": "repl.action.find", "Execute in repl": "repl.execute", @@ -280,7 +267,7 @@ export const BuiltInCommands = { "Attach context in chat workbench action": "workbench.action.chat.attachContext", "Run in terminal in chat workbench action": - "workbench.action.chat.runInTerminal", + "action.chat.runInTerminal", "Submit in chat workbench action": "workbench.action.chat.submit", "Submit secondary agent in chat workbench action": "workbench.action.chat.submitSecondaryAgent", @@ -335,7 +322,7 @@ export const BuiltInCommands = { "Cancel rename input": "cancelRenameInput", "Focus next rename suggestion": "focusNextRenameSuggestion", "Focus previous rename suggestion": "focusPreviousRenameSuggestion", - "Add cursors at search results": "addCursorsAtSearchResults", + "Add curs search results": "addCursorsAtSearchResults", "Focus breadcrumbs": "breadcrumbs.focus", "Focus and select breadcrumbs": "breadcrumbs.focusAndSelect", "Focus next breadcrumb": "breadcrumbs.focusNext", @@ -387,8 +374,7 @@ export const BuiltInCommands = { "Show supertypes in editor": "editor.showSupertypes", "Open to side in explorer": "explorer.openToSide", "Find in folder in files explorer": "filesExplorer.findInFolder", - "Show next in history": "history.showNext", - "Show previous in history": "history.showPrevious", + "Show next in history": "history.showNext", in history": "history.showPrevious", "Focus down in icon select box": "iconSelectBox.focusDown", "Focus next in icon select box": "iconSelectBox.focusNext", "Focus previous in icon select box": "iconSelectBox.focusPrevious", @@ -459,7 +445,7 @@ export const BuiltInCommands = { "Delete left in note multi cursor": "noteMultiCursor.deleteLeft", "Exit note multi cursor": "noteMultiCursor.exit", "Add find match to selection in notebook": "notebook.addFindMatchToSelection", - "Change to code in notebook cell": "notebook.cell.changeToCode", + "Change to code":notebook.cell.changeToCode", "Change to markdown in notebook cell": "notebook.cell.changeToMarkdown", "Accept chat in notebook cell": "notebook.cell.chat.accept", "Focus in notebook cell chat": "notebook.cell.chat.focus", @@ -505,8 +491,7 @@ export const BuiltInCommands = { "Accept primary action in notification": "notification.acceptPrimaryAction", "Clear notification": "notification.clear", "Collapse notification": "notification.collapse", - "Expand notification": "notification.expand", - "Toggle notification": "notification.toggle", + "Expand notification": "notification.expand", notification": "notification.toggle", "Focus first toast in notifications": "notifications.focusFirstToast", "Focus last toast in notifications": "notifications.focusLastToast", "Focus next toast in notifications": "notifications.focusNextToast", @@ -527,7 +512,6 @@ export const BuiltInCommands = { "Move to next separator with quick access fallback in quick input": "quickInput.nextSeparatorWithQuickAccessFallback", "Page next in quick input": "quickInput.pageNext", - "Go to next page in quick input": "quickInput.pageNext", "Go to previous page in quick input": "quickInput.pagePrevious", "Go to previous item in quick input": "quickInput.previous", "Go to previous separator in quick input": "quickInput.previousSeparator", @@ -563,7 +547,7 @@ export const BuiltInCommands = { "Focus level up in settings": "settings.action.focusLevelUp", "Focus setting control in settings": "settings.action.focusSettingControl", "Focus settings from search": "settings.action.focusSettingsFromSearch", - "Focus settings list in settings": "settings.action.focusSettingsList", + "Focus settings list in settings": "settings.action.sList", "Focus table of contents in settings": "settings.action.focusTOC", "Show context menu in settings": "settings.action.showContextMenu", "Cancel test run": "testing.cancelRun", @@ -618,7 +602,7 @@ export const BuiltInCommands = { "Close all editors": "workbench.action.closeAllEditors", "Close all groups": "workbench.action.closeAllGroups", "Close editors in group": "workbench.action.closeEditorsInGroup", - "Close folder": "workbench.action.closeFolder", + "Close folder":"workbench.action.closeFolder", "Close group": "workbench.action.closeGroup", "Close other editors": "workbench.action.closeOtherEditors", "Close quick open": "workbench.action.closeQuickOpen", @@ -638,7 +622,7 @@ export const BuiltInCommands = { "Step out in debug": "workbench.action.debug.stepOut", "Step over in debug": "workbench.action.debug.stepOver", "Stop debug": "workbench.action.debug.stop", - "Change language mode in editor": + "Change language mode in editor": "workbench.action.editor.changeLanguageMode", "Start dictation in editor": "workbench.action.editorDictation.start", "Copy path of active file": "workbench.action.files.copyPathOfActiveFile", @@ -673,8 +657,8 @@ export const BuiltInCommands = { "Go to line": "workbench.action.gotoLine", "Go to symbol": "workbench.action.gotoSymbol", "Arrow down in interactive playground": - "workbench.action.interactivePlayground.arrowDown", - "Arrow up in interactive playground": + "workbench.action.interactivePlayground.arrowDown" + "Arrow up in interactive playground": "workbench.action.interactivePlayground.arrowUp", "Page down in interactive playground": "workbench.action.interactivePlayground.pageDown", @@ -716,7 +700,7 @@ export const BuiltInCommands = { "Open settings": "workbench.action.openSettings", "Toggle output": "workbench.action.output.toggleOutput", "Pin editor": "workbench.action.pinEditor", - "Go to previous editor": "workbench.action.previousEditor", + "Go to previous editor": "work.previousEditor", "Switch to previous editor in group": "workbench.action.previousEditorInGroup", "Quick open file": "workbench.action.quickOpen", @@ -776,7 +760,7 @@ export const BuiltInCommands = { "workbench.action.terminal.focusPreviousPane", "Focus tabs in terminal": "workbench.action.terminal.focusTabs", "Go to recent directory in terminal": - "workbench.action.terminal.goToRecentDirectory", + "workbench.actionToRecentDirectory", "Hide find in terminal": "workbench.action.terminal.hideFind", "Kill active tab in terminal": "workbench.action.terminal.killActiveTab", "Kill editor in terminal": "workbench.action.terminal.killEditor", @@ -839,7 +823,7 @@ export const BuiltInCommands = { "Focus previous action in banner": "workbench.banner.focusPreviousAction", "Toggle REPL in debug": "workbench.debug.action.toggleRepl", "Compare with clipboard": "workbench.files.action.compareWithClipboard", - "Compare with saved": "workbench.files.action.compareWithSaved", + "Compare with saved":"workbench.files.action.compareWithSaved", "Focus open editors view": "workbench.files.action.focusOpenEditorsView", "Clear focus in status bar": "workbench.statusBar.clearFocus", "Focus first in status bar": "workbench.statusBar.focusFirst", @@ -866,7 +850,7 @@ export const BuiltInCommands = { "Previous console in debug": "workbench.action.debug.prevConsole", "Accept selected suggestion in terminal": "workbench.action.terminal.acceptSelectedSuggestion", - "Accept selected suggestion enter in terminal": + "Accept selected suggestion enter in terminal": "workbench.action.terminal.acceptSelectedSuggestionEnter", "Clear terminal": "workbench.action.terminal.clear", "Hide suggest widget in terminal": @@ -908,7 +892,7 @@ export const BuiltInCommands = { "Accept changes in inline chat": "inlineChat.acceptChanges", "Go to last compressed folder": "lastCompressedFolder", "Move file to trash": "moveFileToTrash", - "Go to next compressed folder": "nextCompressedFolder", + "Go compressed folder": "nextCompressedFolder", "Go to previous compressed folder": "previousCompressedFolder", "Close inline remote tunnel": "remote.tunnel.closeInline", "Copy inline remote tunnel address": "remote.tunnel.copyAddressInline", @@ -916,10 +900,9 @@ export const BuiltInCommands = { "Rename file": "renameFile", "Continue debugging": "workbench.action.debug.continue", "Step into debugging": "workbench.action.debug.stepInto", - "Close reference search": "closeReferenceSearch", "Collapse sticky scroll list": "list.stickyScroll.collapse", - "Select in sticky scroll list": "list.stickyScrollselect", - "Toggle expand in sticky scroll list": "list.stickyScrolltoggleExpand", + "Select in sticky scroll list": "list.stickyScroll.select", + "Toggle expand in sticky scroll list": "list.stickyScroll.toggleExpand", "Hide notifications list": "notifications.hideList", "Accept quick input in background": "quickInput.acceptInBackground", "Go back in quick input": "workbench.action.quickInputBack", @@ -936,20 +919,18 @@ export const BuiltInCommands = { "Navigate to previous in file picker": "workbench.action.quickOpenNavigatePreviousInFilePicker", "Navigate to previous in recent files picker": - "workbench.action.quickOpenNavigatePreviousInRecentFilesPicker", + "workbench.action.quickOpenNavigatePreviousInRecentFilesPicker", "Navigate to previous in view picker": "workbench.action.quickOpenNavigatePreviousInViewPicker", "Select next in quick open": "workbench.action.quickOpenSelectNext", "Select previous in quick open": "workbench.action.quickOpenSelectPrevious", - "Reload window": "workbench.action.reloadWindow", "Search workspace in terminal": "workbench.action.terminal.searchWorkspace", - "Toggle developer tools": "workbench.action.toggleDevTools", "Hide notifications": "notifications.hideToasts", "Stop listening to chat": "workbench.action.chat.stopListening", "Stop reading chat item aloud": "workbench.action.chat.stopReadChatItemAloud", "Stop dictation in editor": "workbench.action.editorDictation.stop", "Stop reading aloud": "workbench.action.speech.stopReadAloud", - "Start debugging with stop on entry": + "Start debugging with stop on entry": "extension.node-debug.startWithStopOnEntry", "Stage selected ranges in git": "git.stageSelectedRanges", "Show markdown preview": "markdown.showPreview", @@ -962,7 +943,7 @@ export const BuiltInCommands = { "Show call hierarchy": "references-view.showCallHierarchy", "Generate with Github Copilot": "github.copilot.generate", "Apply chat in editor": "workbench.action.chat.applyInEditor", - "Insert code block in chat": "workbench.action.chat.insertCodeBlock", + "Insert code block in": "workbench.action.chat.insertCodeBlock", "Start terminal chat": "workbench.action.terminal.chat.start", "Accept Github Copilot cursor panel solution": "github.copilot.acceptCursorPanelSolution", @@ -974,28 +955,23 @@ export const BuiltInCommands = { "Accept selected code action": "acceptSelectedCodeAction", "Hide code action widget": "hideCodeActionWidget", "Preview selected code action": "previewSelectedCodeAction", - "Select next code action": "selectNextCodeAction", + "Select next code action": "selectNextCodeAction", "Select previous code action": "selectPrevCodeAction", "Exit compare move in diff editor": "diffEditor.exitCompareMove", "Accept inline edits": "editor.action.inlineEdits.accept", - // UI Toggles "Toggle Minimap": "editor.action.toggleMinimap", "Toggle Line Numbers": "editor.action.toggleLineNumbers", "Toggle Indent Guides": "editor.action.toggleIndentGuides", "Toggle Render Whitespace": "editor.action.toggleRenderWhitespace", - "Toggle Activity Bar Visibility": + "Toggle Activity Bar Visibility": "workbench.action.toggleActivityBarVisibility", "Toggle Status Bar Visibility": "workbench.action.toggleStatusbarVisibility", "Toggle Tabs Visibility": "workbench.action.toggleTabsVisibility", "Toggle Centered Layout": "workbench.action.toggleCenteredLayout", "Toggle Breadcrumbs": "breadcrumbs.toggle", - - // Font Size Adjustments "Increase Font Size": "editor.action.fontZoomIn", - "Decrease Font Size": "editor.action.fontZoomOut", + "Decrease Font Size": "editor.action.fontZoomOut", "Reset Font Size": "editor.action.fontZoomReset", - - // Navigation and Editor Control "Reveal in Explorer": "revealInExplorer", "Go to Next Error": "editor.action.marker.nextInFiles", "Go to Previous Error": "editor.action.marker.prevInFiles", @@ -1010,28 +986,19 @@ export const BuiltInCommands = { "Toggle Fold": "editor.toggleFold", "Open Recent": "workbench.action.openRecent", "Reopen Closed Editor": "workbench.action.reopenClosedEditor", - "Close Editor": "workbench.action.closeActiveEditor", - "Navigate Forward": "workbench.action.navigateForward", - "Navigate Back": "workbench.action.navigateBack", + "Close Editor": "workbench.action.closeActiveEditor", "Select All Occurrences of Find Match": "editor.action.selectAllMatches", "Shrink Selection": "editor.action.smartSelect.shrink", "Expand Selection": "editor.action.smartSelect.expand", "Toggle Panel": "workbench.action.togglePanel", - "Toggle Side Bar": "workbench.action.toggleSidebarVisibility", + "Toggle Side Bar": "workbench.action.toggleSidebarVisibility", "Open Extensions View": "workbench.view.extensions", "Show Keyboard Shortcuts": "workbench.action.openGlobalKeybindings", - "Toggle Full Screen": "workbench.action.toggleFullScreen", - "Open New Window": "workbench.action.newWindow", - "Close Window": "workbench.action.closeWindow", - "Reload Window": "workbench.action.reloadWindow", "Open User Settings": "workbench.action.openSettings", - "Toggle Activity Bar": "workbench.action.toggleActivityBarVisibility", - "Toggle Status Bar": "workbench.action.toggleStatusbarVisibility", - "Toggle Tabs": "workbench.action.toggleTabsVisibility", "Go to Next Editor": "workbench.action.nextEditor", "Go to Previous Editor": "workbench.action.previousEditor", "Close Other Editors": "workbench.action.closeOtherEditors", - "Close Saved Editors": "workbench.action.closeSavedEditors", + "Close Saved Editors": "workbench.action.dEditors", "Close Editors to the Left": "workbench.action.closeEditorsToTheLeft", "Close Editors to the Right": "workbench.action.closeEditorsToTheRight", "Focus on Editor Group Above": "workbench.action.focusAboveGroup", @@ -1039,18 +1006,18 @@ export const BuiltInCommands = { "Focus on Editor Group Left": "workbench.action.focusLeftGroup", "Focus on Editor Group Right": "workbench.action.focusRightGroup", "Move Editor Left": "workbench.action.moveEditorLeftInGroup", - "Move Editor Right": "workbench.action.moveEditorRightInGroup", - "Open File in New Window": "workbench.action.files.openFileFolder", + "Move Editor Right": "workbench.action.moveEditorRightInGroup", + "Open File in New Window": "workbench.action.files.openFileFolder", "Split Editor Left": "workbench.action.splitEditorLeft", "Split Editor Right": "workbench.action.splitEditorRight", "Split Editor Up": "workbench.action.splitEditorUp", "Split Editor Down": "workbench.action.splitEditorDown", "Navigate to Last Edit Location": - "workbench.action.navigateToLastEditLocation", + "workbench.action.navigateToLastEditLocation", "Select Current Line": "expandLineSelection", "Insert Cursor at End of Line": "cursorLineEnd", "Insert Cursor at Start of Line": "cursorLineStart", - "Add Selection to Next Find Match": + "Add Selection to Next Find Match": "editor.action.addSelectionToNextFindMatch", "Add Selection to Previous Find Match": "editor.action.addSelectionToPreviousFindMatch", From 6e42ef519d08eb8178021dabc2884b53fda47478 Mon Sep 17 00:00:00 2001 From: Rahul Bhati <76690088+Rahul-Bhati@users.noreply.github.com> Date: Mon, 21 Oct 2024 20:29:41 +0530 Subject: [PATCH 2/2] remove dublicates --- extension/src/commanding/commands.ts | 189 ++++++++++++--------------- 1 file changed, 80 insertions(+), 109 deletions(-) diff --git a/extension/src/commanding/commands.ts b/extension/src/commanding/commands.ts index 860bfb5..6fe9dce 100644 --- a/extension/src/commanding/commands.ts +++ b/extension/src/commanding/commands.ts @@ -23,47 +23,49 @@ export const BuiltInCommands = { "Select Text to Home": "cursorHomeSelect", "Move Cursor Left": "cursorLeft", "Select Text Left": "cursorLeftSelect", - "Move Cursor to Line End": "cursorLineEnd", "Select Text to Line End": "cursorLineEndSelect", - "Move Cursor to Line Start": "cursorLineStart", "Select Text to Line Start": "cursorLineStartSelect", "Move Cursor Page Down": "cursorPageDown", "Select Text Page Down": "cursorPageDownSelect", "Move Cursor Page Up": "cursorPageUp", "Select Text Page Up": "cursorPageUpSelect", - "Move Cursor Right": "cursorRight", + "Move Cursor Right": "cursorRight", "Select Text Right": "cursorRightSelect", "Move Cursor to Top": "cursorTop", - "Select Text to Top": "cursorTopSelect", + "Select Text to Top": "cursorTopSelect", "Move Cursor Up": "cursorUp", "Select Text Up": "cursorUpSelect", "Delete Left": "deleteLeft", "Delete Right": "deleteRight", "Select All": "editor.action.selectAll", - "Copy": "execCopy", - "Cut": "execCut", - "Paste": "execPaste", + Copy: "execCopy", + Cut: "execCut", + Paste: "execPaste", "Expand Line Selection": "expandLineSelection", "Inline Chat Arrow Out Down": "inlineChat.arrowOutDown", "Inline Chat Arrow Out Up": "inlineChat.arrowOutUp", - "Insert Line Break": "lineBreakInsert", - "Outdent": "outdent", - "Redo": "redo", + "Insert Line Break": "lineBreakInsert", + Outdent: "outdent", + Redo: "redo", "Scroll Line Down": "scrollLineDown", "Scroll Line Up": "scrollLineUp", - "Scroll Page Down": "scrollPageDown", + "Scroll Page Down": "scrollPageDown", "Scroll Page Up": "scrollPageUp", - "Tab": "tab", - "Undo": "undo", + Tab: "tab", + Undo: "undo", "Remove Secondary Cursors": "removeSecondaryCursors", "Notebook Cell Chat Arrow Out Down": "notebook.cell.chat.arrowOutDown", "Notebook Cell Chat Arrow Out Up": "notebook.cell.chat.arrowOutUp", "Focus Chat Widget": "notebook.cell.focusChatWidget", - "Focus Next Chat Widget": "notebook.cell.focusNextChatWidget", + "Focus Next Chat Widget": "notebook.cell.focusNextChatWidget", "Inline Chat Focus": "inlineChat.focus", - "Accept Notebook Cell Chat Changes": "notebook.cell.chat.acceptChanges", "Next From Notebook Cell Chat History": "notebook.cell.chat.nextFromHistory", - "Previous From Notebook Cell Chat History": "notebook.cell.chat.previousFromHistory", + "Previous From Notebook Cell Chat History": + "notebook.cell.chat.previousFromHistory", + "Go To Next Reference": "goToNextReference", + "Go To Previous Reference": "goToPreviousReference", + "Apply Refactor Preview": "refactorPreview.apply", + "Edit Focused Test": "testing.editFocusedTest", "Quit Notebook Cell Edit": "notebook.cell.quitEdit", "Discard Inline Chat": "inlineChat.discard", Find: "actions.find", @@ -72,9 +74,9 @@ export const BuiltInCommands = { "Focus Chat Action": "chat.action.focus", "Close Breakpoint Widget": "closeBreakpointWidget", "Cursor Undo": "cursorUndo", - "Cursor Word End Right": "cursor + "Cursor Word End Right": "cursorWordEndRight", "Select Word End Right": "cursorWordEndRightSelect", - "Cursor Word Left": "cursorWordLeft", + "Cursor Word Left": "cursorWordLeft", "Select Word Left": "cursorWordLeftSelect", "Cursor Word Part Left": "cursorWordPartLeft", "Select Word Part Left": "cursorWordPartLeftSelect", @@ -89,54 +91,55 @@ export const BuiltInCommands = { "Next Accessible Diff Viewer": "editor.action.accessibleDiffViewer.next", "Previous Accessible Diff Viewer": "editor.action.accessibleDiffViewer.prev", "Add Comment Line": "editor.action.addCommentLine", - "Add Selection To Next Find Match": "editor.action.addSelectionToNextFindMatch", + "Add Selection To Next Find Match": + "editor.action.addSelectionToNextFindMatch", "Auto Fix": "editor.action.autoFix", "Block Comment": "editor.action.blockComment", - "Cancel Selection Anchor": "editor.action.cancelSelectionAnchor", + "Cancel Selection Anchor": "editor.action.cancelSelectionAnchor", "Change All": "editor.action.changeAll", "Clipboard Copy Action": "editor.action.clipboardCopyAction", "Clipboard Cut Action": "editor.action.clipboardCutAction", - "Clipboard Paste Action": "editor.action.clipboardPasteAction", + "Clipboard Paste Action": "editor.action.clipboardPasteAction", "Comment Line": "editor.action.commentLine", - "Copy Lines Down Action": "editor.action.copyLinesDownAction", "Copy Lines Up Action": "editor.action.copyLinesUpAction", "Delete Lines": "editor.action.deleteLines", "Next Dirty Diff": "editor.action.dirtydiff.next", "Previous Dirty Diff": "editor.action.dirtydiff.previous", "Find Next in Extension Editor": "editor.action.extensioneditor.findNext", - "Find Previous in Extension Editor": "editor.action.extensioneditor.findPrevious", + "Find Previous in Extension Editor": + "editor.action.extensioneditor.findPrevious", "Show Find in Extension Editor": "editor.action.extensioneditor.showfind", "Format Document": "editor.action.formatDocument", "Format Selection": "editor.action.formatSelection", "Go To Bottom Hover": "editor.action.goToBottomHover", - "Go To Focused Sticky Scroll Line": "editor.action.goToFocusedStickyScrollLine", - "Go To Implementation": "editor.action.goToImplementation", + "Go To Focused Sticky Scroll Line": + "editor.action.goToFocusedStickyScrollLine", + "Go To Implementation": "editor.action.goToImplementation", "Go To References": "editor.action.goToReferences", "Go To Top Hover": "editor.action.goToTopHover", "Hide Color Picker": "editor.action.hideColorPicker", "In Place Replace Down": "editor.action.inPlaceReplace.down", "In Place Replace Up": "editor.action.inPlaceReplace.up", "Indent Lines": "editor.action.indentLines", + "Reject Inline Edit": "editor.action.inlineEdit.reject", "Hide Inline Edits": "editor.action.inlineEdits.hide", - "Show Next Inline Edits": "editor.action.inlineEdits.showNext", + "Show Next Inline Edits": "editor.action.inlineEdits.showNext", "Show Previous Inline Edits": "editor.action.inlineEdits.showPrevious", "Hide Inline Suggest": "editor.action.inlineSuggest.hide", "Show Next Inline Suggest": "editor.action.inlineSuggest.showNext", "Show Previous Inline Suggest": "editor.action.inlineSuggest.showPrevious", - "Insert Color With Standalone Color Picker": "editor.action.insertColorWithStandaloneColorPicker", - "Insert Cursor Above": "editor.action.insertCursorAbove", - "Insert Cursor At End Of Each Line Selected": "editor.action.insertCursorAtEndOfEachLineSelected", - "Insert Cursor Below": "editor.action.insertCursorBelow", + "Insert Color With Standalone Color Picker": + "editor.action.insertColorWithStandaloneColorPicker", + "Insert Cursor At End Of Each Line Selected": + "editor.action.insertCursorAtEndOfEachLineSelected", "Insert Line After": "editor.action.insertLineAfter", "Insert Line Before": "editor.action.insertLineBefore", "Join Lines": "editor.action.joinLines", - "Jump To Bracket": "editor.action.jumpToBracket", - "Linked Editing": "editor.action.linkedEditing", - "Next Marker": "editor.action.marker.next", + "Linked Editing": "editor.action.linkedEditing", "Next Marker In Files": "editor.action.marker.nextInFiles", "Previous Marker": "editor.action.marker.prev", - "Previous Marker In Files": "editor.action.marker.prevInFiles", "Move Lines Down Action": "editor.action.moveLinesDownAction", + "Move Lines Up Action": "editor.action.moveLinesUpAction", "Move Selection To Next Find Match": "editor.action.moveSelectionToNextFindMatch", "Next Comment Thread Action": "editor.action.nextCommentThreadAction", @@ -156,12 +159,11 @@ export const BuiltInCommands = { "Previous Selection Match Find Action": "editor.action.previousSelectionMatchFindAction", "Quick Fix": "editor.action.quickFix", - "Refactor": "editor.action.refactor", + Refactor: "editor.action.refactor", "Remove Brackets": "editor.action.removeBrackets", "Remove Comment Line": "editor.action.removeCommentLine", - "Rename": "editor.action.rename", + Rename: "editor.action.rename", "Reveal Definition": "editor.action.revealDefinition", - "Reveal definition": "editor.action.revealDefinition", "Reveal definition aside": "editor.action.revealDefinitionAside", "Scroll down hover": "editor.action.scrollDownHover", "Scroll left hover": "editor.action.scrollLeftHover", @@ -169,7 +171,6 @@ export const BuiltInCommands = { "Scroll up hover": "editor.action.scrollUpHover", "Select editor": "editor.action.selectEditor", "Select from anchor to cursor": "editor.action.selectFromAnchorToCursor", - "Select highlights": "editor.action.selectHighlights", "Select next sticky scroll line": "editor.action.selectNextStickyScrollLine", "Select previous sticky scroll line": "editor.action.selectPreviousStickyScrollLine", @@ -186,7 +187,7 @@ export const BuiltInCommands = { "Trigger parameter hints": "editor.action.triggerParameterHints", "Trigger suggest": "editor.action.triggerSuggest", "Trim trailing whitespace": "editor.action.trimTrailingWhitespace", - "Find next in webview editor": "editor.action.webditor.findNext", + "Find next in webview editor": "editor.action.webvieweditor.findNext", "Find previous in webview editor": "editor.action.webvieweditor.findPrevious", "Hide find in webview editor": "editor.action.webvieweditor.hideFind", "Show find in webview editor": "editor.action.webvieweditor.showFind", @@ -225,29 +226,30 @@ export const BuiltInCommands = { "Toggle fold in editor": "editor.toggleFold", "Toggle fold recursively in editor": "editor.toggleFoldRecursively", "Unfold editor": "editor.unfold", - "Unfold all in editor": "editor.unfoldAll", + "Unfold all in editor": "editor.unfoldAll", "Unfold all except in editor": "editor.unfoldAllExcept", "Unfold all marker regions in editor": "editor.unfoldAllMarkerRegions", "Unfold recursively in editor": "editor.unfoldRecursively", - "Stop reading line with hint": "inlayHints.stopReadingLineWithHint", + "Stop reading line with hint": "inlayHints.stopReadingLineWithHint", "Insert snippet": "insertSnippet", "Execute in interactive": "interactive.execute", "Discard cell chat in notebook": "notebook.cell.chat.discard", "Cursor page down in notebook cell": "notebook.cell.cursorPageDown", - "Cursor page down select in notebook cell": + "Cursor page down select in notebook cell": "notebook.cell.cursorPageDownSelect", "Cursor page up in notebook cell": "notebook.cell.cursorPageUp", "Cursor page up select in notebook cell": "notebook.cell.cursorPageUpSelect", "Execute notebook cell": "notebook.cell.execute", "Execute and insert below notebook cell": - "notebook.cell.executeAndInsertBelow", + "notebook.cell.executeAndInsertBelow", "Execute and select below notebook cell": "notebook.cell.executeAndSelectBelow", "Paste above notebook cell": "notebook.cell.pasteAbove", "Focus next editor in notebook": "notebook.focusNextEditor", "Focus previous editor in notebook": "notebook.focusPreviousEditor", "Format cell in notebook": "notebook.formatCell", - "Accept input in repl action": "repl.action.acceptInput", + "Open reference to side": "openReferenceToSide", + "Accept input in repl action": "repl.action.acceptInput", "Filter in repl action": "repl.action.filter", "Find in repl action": "repl.action.find", "Execute in repl": "repl.execute", @@ -267,7 +269,7 @@ export const BuiltInCommands = { "Attach context in chat workbench action": "workbench.action.chat.attachContext", "Run in terminal in chat workbench action": - "action.chat.runInTerminal", + "workbench.action.chat.runInTerminal", "Submit in chat workbench action": "workbench.action.chat.submit", "Submit secondary agent in chat workbench action": "workbench.action.chat.submitSecondaryAgent", @@ -322,7 +324,7 @@ export const BuiltInCommands = { "Cancel rename input": "cancelRenameInput", "Focus next rename suggestion": "focusNextRenameSuggestion", "Focus previous rename suggestion": "focusPreviousRenameSuggestion", - "Add curs search results": "addCursorsAtSearchResults", + "Add cursors at search results": "addCursorsAtSearchResults", "Focus breadcrumbs": "breadcrumbs.focus", "Focus and select breadcrumbs": "breadcrumbs.focusAndSelect", "Focus next breadcrumb": "breadcrumbs.focusNext", @@ -374,7 +376,8 @@ export const BuiltInCommands = { "Show supertypes in editor": "editor.showSupertypes", "Open to side in explorer": "explorer.openToSide", "Find in folder in files explorer": "filesExplorer.findInFolder", - "Show next in history": "history.showNext", in history": "history.showPrevious", + "Show next in history": "history.showNext", + "Show previous in history": "history.showPrevious", "Focus down in icon select box": "iconSelectBox.focusDown", "Focus next in icon select box": "iconSelectBox.focusNext", "Focus previous in icon select box": "iconSelectBox.focusPrevious", @@ -445,7 +448,7 @@ export const BuiltInCommands = { "Delete left in note multi cursor": "noteMultiCursor.deleteLeft", "Exit note multi cursor": "noteMultiCursor.exit", "Add find match to selection in notebook": "notebook.addFindMatchToSelection", - "Change to code":notebook.cell.changeToCode", + "Change to code in notebook cell": "notebook.cell.changeToCode", "Change to markdown in notebook cell": "notebook.cell.changeToMarkdown", "Accept chat in notebook cell": "notebook.cell.chat.accept", "Focus in notebook cell chat": "notebook.cell.chat.focus", @@ -491,7 +494,8 @@ export const BuiltInCommands = { "Accept primary action in notification": "notification.acceptPrimaryAction", "Clear notification": "notification.clear", "Collapse notification": "notification.collapse", - "Expand notification": "notification.expand", notification": "notification.toggle", + "Expand notification": "notification.expand", + "Toggle notification": "notification.toggle", "Focus first toast in notifications": "notifications.focusFirstToast", "Focus last toast in notifications": "notifications.focusLastToast", "Focus next toast in notifications": "notifications.focusNextToast", @@ -511,7 +515,7 @@ export const BuiltInCommands = { "Move to next separator in quick input": "quickInput.nextSeparator", "Move to next separator with quick access fallback in quick input": "quickInput.nextSeparatorWithQuickAccessFallback", - "Page next in quick input": "quickInput.pageNext", + "Go to next page in quick input": "quickInput.pageNext", "Go to previous page in quick input": "quickInput.pagePrevious", "Go to previous item in quick input": "quickInput.previous", "Go to previous separator in quick input": "quickInput.previousSeparator", @@ -547,7 +551,7 @@ export const BuiltInCommands = { "Focus level up in settings": "settings.action.focusLevelUp", "Focus setting control in settings": "settings.action.focusSettingControl", "Focus settings from search": "settings.action.focusSettingsFromSearch", - "Focus settings list in settings": "settings.action.sList", + "Focus settings list in settings": "settings.action.focusSettingsList", "Focus table of contents in settings": "settings.action.focusTOC", "Show context menu in settings": "settings.action.showContextMenu", "Cancel test run": "testing.cancelRun", @@ -602,7 +606,7 @@ export const BuiltInCommands = { "Close all editors": "workbench.action.closeAllEditors", "Close all groups": "workbench.action.closeAllGroups", "Close editors in group": "workbench.action.closeEditorsInGroup", - "Close folder":"workbench.action.closeFolder", + "Close folder": "workbench.action.closeFolder", "Close group": "workbench.action.closeGroup", "Close other editors": "workbench.action.closeOtherEditors", "Close quick open": "workbench.action.closeQuickOpen", @@ -622,7 +626,7 @@ export const BuiltInCommands = { "Step out in debug": "workbench.action.debug.stepOut", "Step over in debug": "workbench.action.debug.stepOver", "Stop debug": "workbench.action.debug.stop", - "Change language mode in editor": + "Change language mode in editor": "workbench.action.editor.changeLanguageMode", "Start dictation in editor": "workbench.action.editorDictation.start", "Copy path of active file": "workbench.action.files.copyPathOfActiveFile", @@ -657,8 +661,8 @@ export const BuiltInCommands = { "Go to line": "workbench.action.gotoLine", "Go to symbol": "workbench.action.gotoSymbol", "Arrow down in interactive playground": - "workbench.action.interactivePlayground.arrowDown" - "Arrow up in interactive playground": + "workbench.action.interactivePlayground.arrowDown", + "Arrow up in interactive playground": "workbench.action.interactivePlayground.arrowUp", "Page down in interactive playground": "workbench.action.interactivePlayground.pageDown", @@ -697,10 +701,9 @@ export const BuiltInCommands = { "Open editor at index 9": "workbench.action.openEditorAtIndex9", "Open global keybindings": "workbench.action.openGlobalKeybindings", "Open recent": "workbench.action.openRecent", - "Open settings": "workbench.action.openSettings", "Toggle output": "workbench.action.output.toggleOutput", "Pin editor": "workbench.action.pinEditor", - "Go to previous editor": "work.previousEditor", + "Go to previous editor": "workbench.action.previousEditor", "Switch to previous editor in group": "workbench.action.previousEditorInGroup", "Quick open file": "workbench.action.quickOpen", @@ -760,7 +763,7 @@ export const BuiltInCommands = { "workbench.action.terminal.focusPreviousPane", "Focus tabs in terminal": "workbench.action.terminal.focusTabs", "Go to recent directory in terminal": - "workbench.actionToRecentDirectory", + "workbench.action.terminal.goToRecentDirectory", "Hide find in terminal": "workbench.action.terminal.hideFind", "Kill active tab in terminal": "workbench.action.terminal.killActiveTab", "Kill editor in terminal": "workbench.action.terminal.killEditor", @@ -810,20 +813,18 @@ export const BuiltInCommands = { "Toggle editor group layout": "workbench.action.toggleEditorGroupLayout", "Toggle full screen": "workbench.action.toggleFullScreen", "Toggle maximize editor group": "workbench.action.toggleMaximizeEditorGroup", - "Toggle panel": "workbench.action.togglePanel", "Toggle sidebar visibility": "workbench.action.toggleSidebarVisibility", "Toggle Zen mode": "workbench.action.toggleZenMode", "Unpin editor": "workbench.action.unpinEditor", "Zoom in": "workbench.action.zoomIn", "Zoom out": "workbench.action.zoomOut", "Reset zoom": "workbench.action.zoomReset", - "View problems": "workbench.actions.view.problems", "Focus banner": "workbench.banner.focusBanner", "Focus next action in banner": "workbench.banner.focusNextAction", "Focus previous action in banner": "workbench.banner.focusPreviousAction", "Toggle REPL in debug": "workbench.debug.action.toggleRepl", "Compare with clipboard": "workbench.files.action.compareWithClipboard", - "Compare with saved":"workbench.files.action.compareWithSaved", + "Compare with saved": "workbench.files.action.compareWithSaved", "Focus open editors view": "workbench.files.action.focusOpenEditorsView", "Clear focus in status bar": "workbench.statusBar.clearFocus", "Focus first in status bar": "workbench.statusBar.focusFirst", @@ -832,7 +833,6 @@ export const BuiltInCommands = { "Focus previous in status bar": "workbench.statusBar.focusPrevious", "View debug": "workbench.view.debug", "View explorer": "workbench.view.explorer", - "View extensions": "workbench.view.extensions", "View scm": "workbench.view.scm", "View search": "workbench.view.search", "Focus next with picker in breadcrumbs": "breadcrumbs.focusNextWithPicker", @@ -850,7 +850,7 @@ export const BuiltInCommands = { "Previous console in debug": "workbench.action.debug.prevConsole", "Accept selected suggestion in terminal": "workbench.action.terminal.acceptSelectedSuggestion", - "Accept selected suggestion enter in terminal": + "Accept selected suggestion enter in terminal": "workbench.action.terminal.acceptSelectedSuggestionEnter", "Clear terminal": "workbench.action.terminal.clear", "Hide suggest widget in terminal": @@ -874,7 +874,6 @@ export const BuiltInCommands = { "Rename watch expression in debug": "debug.renameWatchExpression", "Set variable in debug": "debug.setVariable", "Toggle breakpoint in debug": "debug.toggleBreakpoint", - "Quit edit in notebook cell": "notebook.cell.quitEdit", "Paste in files explorer": "filesExplorer.paste", "Delete file": "deleteFile", "Go to symbol in editor": "editor.action.accessibleViewGoToSymbol", @@ -892,7 +891,7 @@ export const BuiltInCommands = { "Accept changes in inline chat": "inlineChat.acceptChanges", "Go to last compressed folder": "lastCompressedFolder", "Move file to trash": "moveFileToTrash", - "Go compressed folder": "nextCompressedFolder", + "Go to next compressed folder": "nextCompressedFolder", "Go to previous compressed folder": "previousCompressedFolder", "Close inline remote tunnel": "remote.tunnel.closeInline", "Copy inline remote tunnel address": "remote.tunnel.copyAddressInline", @@ -901,8 +900,8 @@ export const BuiltInCommands = { "Continue debugging": "workbench.action.debug.continue", "Step into debugging": "workbench.action.debug.stepInto", "Collapse sticky scroll list": "list.stickyScroll.collapse", - "Select in sticky scroll list": "list.stickyScroll.select", - "Toggle expand in sticky scroll list": "list.stickyScroll.toggleExpand", + "Select in sticky scroll list": "list.stickyScrollselect", + "Toggle expand in sticky scroll list": "list.stickyScrolltoggleExpand", "Hide notifications list": "notifications.hideList", "Accept quick input in background": "quickInput.acceptInBackground", "Go back in quick input": "workbench.action.quickInputBack", @@ -919,18 +918,19 @@ export const BuiltInCommands = { "Navigate to previous in file picker": "workbench.action.quickOpenNavigatePreviousInFilePicker", "Navigate to previous in recent files picker": - "workbench.action.quickOpenNavigatePreviousInRecentFilesPicker", + "workbench.action.quickOpenNavigatePreviousInRecentFilesPicker", "Navigate to previous in view picker": "workbench.action.quickOpenNavigatePreviousInViewPicker", "Select next in quick open": "workbench.action.quickOpenSelectNext", "Select previous in quick open": "workbench.action.quickOpenSelectPrevious", + "Reload window": "workbench.action.reloadWindow", "Search workspace in terminal": "workbench.action.terminal.searchWorkspace", - "Hide notifications": "notifications.hideToasts", + "Toggle developer tools": "workbench.action.toggleDevTools", "Stop listening to chat": "workbench.action.chat.stopListening", "Stop reading chat item aloud": "workbench.action.chat.stopReadChatItemAloud", "Stop dictation in editor": "workbench.action.editorDictation.stop", "Stop reading aloud": "workbench.action.speech.stopReadAloud", - "Start debugging with stop on entry": + "Start debugging with stop on entry": "extension.node-debug.startWithStopOnEntry", "Stage selected ranges in git": "git.stageSelectedRanges", "Show markdown preview": "markdown.showPreview", @@ -943,7 +943,7 @@ export const BuiltInCommands = { "Show call hierarchy": "references-view.showCallHierarchy", "Generate with Github Copilot": "github.copilot.generate", "Apply chat in editor": "workbench.action.chat.applyInEditor", - "Insert code block in": "workbench.action.chat.insertCodeBlock", + "Insert code block in chat": "workbench.action.chat.insertCodeBlock", "Start terminal chat": "workbench.action.terminal.chat.start", "Accept Github Copilot cursor panel solution": "github.copilot.acceptCursorPanelSolution", @@ -955,23 +955,28 @@ export const BuiltInCommands = { "Accept selected code action": "acceptSelectedCodeAction", "Hide code action widget": "hideCodeActionWidget", "Preview selected code action": "previewSelectedCodeAction", - "Select next code action": "selectNextCodeAction", + "Select next code action": "selectNextCodeAction", "Select previous code action": "selectPrevCodeAction", "Exit compare move in diff editor": "diffEditor.exitCompareMove", "Accept inline edits": "editor.action.inlineEdits.accept", + // UI Toggles "Toggle Minimap": "editor.action.toggleMinimap", "Toggle Line Numbers": "editor.action.toggleLineNumbers", "Toggle Indent Guides": "editor.action.toggleIndentGuides", "Toggle Render Whitespace": "editor.action.toggleRenderWhitespace", - "Toggle Activity Bar Visibility": + "Toggle Activity Bar Visibility": "workbench.action.toggleActivityBarVisibility", "Toggle Status Bar Visibility": "workbench.action.toggleStatusbarVisibility", "Toggle Tabs Visibility": "workbench.action.toggleTabsVisibility", "Toggle Centered Layout": "workbench.action.toggleCenteredLayout", "Toggle Breadcrumbs": "breadcrumbs.toggle", + + // Font Size Adjustments "Increase Font Size": "editor.action.fontZoomIn", - "Decrease Font Size": "editor.action.fontZoomOut", + "Decrease Font Size": "editor.action.fontZoomOut", "Reset Font Size": "editor.action.fontZoomReset", + + // Navigation and Editor Control "Reveal in Explorer": "revealInExplorer", "Go to Next Error": "editor.action.marker.nextInFiles", "Go to Previous Error": "editor.action.marker.prevInFiles", @@ -981,54 +986,20 @@ export const BuiltInCommands = { "Add Cursor to Line Ends": "editor.action.addCursorsToBottom", "Select All Occurrences": "editor.action.selectHighlights", "Go to Matching Bracket": "editor.action.jumpToBracket", - "Fold All": "editor.foldAll", - "Unfold All": "editor.unfoldAll", - "Toggle Fold": "editor.toggleFold", - "Open Recent": "workbench.action.openRecent", - "Reopen Closed Editor": "workbench.action.reopenClosedEditor", - "Close Editor": "workbench.action.closeActiveEditor", - "Select All Occurrences of Find Match": "editor.action.selectAllMatches", - "Shrink Selection": "editor.action.smartSelect.shrink", - "Expand Selection": "editor.action.smartSelect.expand", "Toggle Panel": "workbench.action.togglePanel", - "Toggle Side Bar": "workbench.action.toggleSidebarVisibility", "Open Extensions View": "workbench.view.extensions", - "Show Keyboard Shortcuts": "workbench.action.openGlobalKeybindings", "Open User Settings": "workbench.action.openSettings", - "Go to Next Editor": "workbench.action.nextEditor", - "Go to Previous Editor": "workbench.action.previousEditor", - "Close Other Editors": "workbench.action.closeOtherEditors", - "Close Saved Editors": "workbench.action.dEditors", + "Close Saved Editors": "workbench.action.closeSavedEditors", "Close Editors to the Left": "workbench.action.closeEditorsToTheLeft", "Close Editors to the Right": "workbench.action.closeEditorsToTheRight", - "Focus on Editor Group Above": "workbench.action.focusAboveGroup", - "Focus on Editor Group Below": "workbench.action.focusBelowGroup", - "Focus on Editor Group Left": "workbench.action.focusLeftGroup", - "Focus on Editor Group Right": "workbench.action.focusRightGroup", - "Move Editor Left": "workbench.action.moveEditorLeftInGroup", - "Move Editor Right": "workbench.action.moveEditorRightInGroup", - "Open File in New Window": "workbench.action.files.openFileFolder", - "Split Editor Left": "workbench.action.splitEditorLeft", - "Split Editor Right": "workbench.action.splitEditorRight", - "Split Editor Up": "workbench.action.splitEditorUp", - "Split Editor Down": "workbench.action.splitEditorDown", - "Navigate to Last Edit Location": - "workbench.action.navigateToLastEditLocation", - "Select Current Line": "expandLineSelection", "Insert Cursor at End of Line": "cursorLineEnd", "Insert Cursor at Start of Line": "cursorLineStart", - "Add Selection to Next Find Match": - "editor.action.addSelectionToNextFindMatch", "Add Selection to Previous Find Match": "editor.action.addSelectionToPreviousFindMatch", - "Switch Window": "workbench.action.switchWindow", - "Toggle Terminal Panel": "workbench.action.terminal.toggleTerminal", - "Create New Terminal": "workbench.action.terminal.new", "Run Task": "workbench.action.tasks.runTask", "Configure Task": "workbench.action.tasks.configureTaskRunner", "Show Problems Panel": "workbench.actions.view.problems", "Go to Next Problem": "editor.action.marker.next", - "Go to Previous Problem": "editor.action.marker.prev", } as const; /**