Skip to content

Visual Studio Code, rebuilt in Rust

Rust
8.2 KB
Raw Blame
//! terminal.ts `DEFAULT_COMMANDS_TO_SKIP_SHELL`, with terminalContribExports.ts `defaultTerminalContribCommandsToSkipShell`.

pub const DEFAULT_COMMANDS_TO_SKIP_SHELL: &[&str] = &[
    "workbench.action.terminal.clearSelection",
    "workbench.action.terminal.clear",
    "workbench.action.terminal.copyAndClearSelection",
    "workbench.action.terminal.copySelection",
    "workbench.action.terminal.copySelectionAsHtml",
    "workbench.action.terminal.copyLastCommand",
    "workbench.action.terminal.copyLastCommandOutput",
    "workbench.action.terminal.copyLastCommandAndLastCommandOutput",
    "workbench.action.terminal.deleteToLineStart",
    "workbench.action.terminal.deleteWordLeft",
    "workbench.action.terminal.deleteWordRight",
    "workbench.action.terminal.focusNextPane",
    "workbench.action.terminal.focusNext",
    "workbench.action.terminal.focusPreviousPane",
    "workbench.action.terminal.focusPrevious",
    "workbench.action.terminal.focus",
    "workbench.action.terminal.sizeToContentWidth",
    "workbench.action.terminal.kill",
    "workbench.action.terminal.killEditor",
    "workbench.action.terminal.moveToEditor",
    "workbench.action.terminal.moveToLineEnd",
    "workbench.action.terminal.moveToLineStart",
    "workbench.action.terminal.moveToTerminalPanel",
    "workbench.action.terminal.newInActiveWorkspace",
    "workbench.action.terminal.new",
    "workbench.action.terminal.newInNewWindow",
    "workbench.action.terminal.paste",
    "workbench.action.terminal.pastePwsh",
    "workbench.action.terminal.pasteSelection",
    "workbench.action.terminal.resizePaneDown",
    "workbench.action.terminal.resizePaneLeft",
    "workbench.action.terminal.resizePaneRight",
    "workbench.action.terminal.resizePaneUp",
    "workbench.action.terminal.runActiveFile",
    "workbench.action.terminal.runSelectedText",
    "workbench.action.terminal.scrollDown",
    "workbench.action.terminal.scrollDownPage",
    "workbench.action.terminal.scrollToBottom",
    "workbench.action.terminal.scrollToNextCommand",
    "workbench.action.terminal.scrollToPreviousCommand",
    "workbench.action.terminal.scrollToTop",
    "workbench.action.terminal.scrollUp",
    "workbench.action.terminal.scrollUpPage",
    "workbench.action.terminal.sendSequence",
    "workbench.action.terminal.selectAll",
    "workbench.action.terminal.selectToNextCommand",
    "workbench.action.terminal.selectToNextLine",
    "workbench.action.terminal.selectToPreviousCommand",
    "workbench.action.terminal.selectToPreviousLine",
    "workbench.action.terminal.splitInActiveWorkspace",
    "workbench.action.terminal.split",
    "workbench.action.terminal.toggleTerminal",
    "workbench.action.terminal.focusHover",
    "editor.action.accessibilityHelp",
    "workbench.action.terminal.stopVoice",
    "workbench.action.terminal.sendSignal",
    "workbench.action.tasks.rerunForActiveTerminal",
    "editor.action.toggleTabFocusMode",
    "notifications.hideList",
    "notifications.hideToasts",
    "workbench.action.closeQuickOpen",
    "workbench.action.quickOpen",
    "workbench.action.quickOpenPreviousEditor",
    "workbench.action.showCommands",
    "workbench.action.tasks.build",
    "workbench.action.tasks.restartTask",
    "workbench.action.tasks.runTask",
    "workbench.action.tasks.reRunTask",
    "workbench.action.tasks.showLog",
    "workbench.action.tasks.showTasks",
    "workbench.action.tasks.terminate",
    "workbench.action.tasks.test",
    "workbench.action.toggleFullScreen",
    "workbench.action.terminal.focusAtIndex1",
    "workbench.action.terminal.focusAtIndex2",
    "workbench.action.terminal.focusAtIndex3",
    "workbench.action.terminal.focusAtIndex4",
    "workbench.action.terminal.focusAtIndex5",
    "workbench.action.terminal.focusAtIndex6",
    "workbench.action.terminal.focusAtIndex7",
    "workbench.action.terminal.focusAtIndex8",
    "workbench.action.terminal.focusAtIndex9",
    "workbench.action.focusSecondEditorGroup",
    "workbench.action.focusThirdEditorGroup",
    "workbench.action.focusFourthEditorGroup",
    "workbench.action.focusFifthEditorGroup",
    "workbench.action.focusSixthEditorGroup",
    "workbench.action.focusSeventhEditorGroup",
    "workbench.action.focusEighthEditorGroup",
    "workbench.action.focusNextPart",
    "workbench.action.focusPreviousPart",
    "workbench.action.nextPanelView",
    "workbench.action.previousPanelView",
    "workbench.action.nextSideBarView",
    "workbench.action.previousSideBarView",
    "workbench.action.debug.disconnect",
    "workbench.action.debug.start",
    "workbench.action.debug.stop",
    "workbench.action.debug.run",
    "workbench.action.debug.restart",
    "workbench.action.debug.continue",
    "workbench.action.debug.pause",
    "workbench.action.debug.stepInto",
    "workbench.action.debug.stepOut",
    "workbench.action.debug.stepOver",
    "sessions.goBack",
    "sessions.goForward",
    "sessions.focusActiveSession",
    "sessions.focusSessionInGrid1",
    "sessions.focusSessionInGrid2",
    "sessions.focusSessionInGrid3",
    "sessions.focusSessionInGrid4",
    "sessions.focusSessionInGrid5",
    "sessions.focusSessionInGrid6",
    "sessions.focusSessionInGrid7",
    "sessions.focusSessionInGrid8",
    "sessions.focusSessionInGrid9",
    "workbench.action.chatWindow.toggleTerminal",
    "workbench.action.agentToggleSidePanel",
    "sessionsViewPane.navigatePreviousSession",
    "sessionsViewPane.navigateNextSession",
    "workbench.action.nextEditor",
    "workbench.action.previousEditor",
    "workbench.action.nextEditorInGroup",
    "workbench.action.previousEditorInGroup",
    "workbench.action.openNextRecentlyUsedEditor",
    "workbench.action.openPreviousRecentlyUsedEditor",
    "workbench.action.openNextRecentlyUsedEditorInGroup",
    "workbench.action.openPreviousRecentlyUsedEditorInGroup",
    "workbench.action.quickOpenPreviousRecentlyUsedEditor",
    "workbench.action.quickOpenLeastRecentlyUsedEditor",
    "workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup",
    "workbench.action.quickOpenLeastRecentlyUsedEditorInGroup",
    "workbench.action.focusActiveEditorGroup",
    "workbench.action.focusFirstEditorGroup",
    "workbench.action.focusLastEditorGroup",
    "workbench.action.firstEditorInGroup",
    "workbench.action.lastEditorInGroup",
    "workbench.action.navigateUp",
    "workbench.action.navigateDown",
    "workbench.action.navigateRight",
    "workbench.action.navigateLeft",
    "workbench.action.togglePanel",
    "workbench.action.quickOpenView",
    "workbench.action.toggleMaximizedPanel",
    "workbench.action.zoomIn",
    "workbench.action.zoomOut",
    "workbench.action.zoomReset",
    "notification.acceptPrimaryAction",
    "runCommands",
    "workbench.action.terminal.chat.start",
    "workbench.action.terminal.chat.close",
    "workbench.action.terminal.chat.discard",
    "workbench.action.terminal.chat.makeRequest",
    "workbench.action.terminal.chat.cancel",
    "workbench.action.terminal.chat.feedbackHelpful",
    "workbench.action.terminal.chat.feedbackUnhelpful",
    "workbench.action.terminal.chat.feedbackReportIssue",
    "workbench.action.terminal.chat.runCommand",
    "workbench.action.terminal.chat.insertCommand",
    "workbench.action.terminal.chat.viewInChat",
    "workbench.action.terminal.focusAccessibleBuffer",
    "workbench.action.terminal.focusFind",
    "workbench.action.terminal.hideFind",
    "workbench.action.terminal.findNext",
    "workbench.action.terminal.findPrevious",
    "workbench.action.terminal.toggleFindRegex",
    "workbench.action.terminal.toggleFindWholeWord",
    "workbench.action.terminal.toggleFindCaseSensitive",
    "workbench.action.terminal.searchWorkspace",
    "workbench.action.terminal.goToRecentDirectory",
    "workbench.action.terminal.runRecentCommand",
    "workbench.action.terminal.selectPrevSuggestion",
    "workbench.action.terminal.selectPrevPageSuggestion",
    "workbench.action.terminal.selectNextSuggestion",
    "workbench.action.terminal.selectNextPageSuggestion",
    "workbench.action.terminal.acceptSelectedSuggestion",
    "workbench.action.terminal.acceptSelectedSuggestionEnter",
    "workbench.action.terminal.hideSuggestWidget",
    "workbench.action.terminal.triggerSuggest",
    "workbench.action.terminal.suggestToggleDetails",
    "workbench.action.terminal.suggestToggleDetailsFocus",
];