Skip to content

Settings Reference

Secondary Terminal provides 97 configurable settings.

TIP

All settings use the secondaryTerminal. prefix. For example, fontSize is set as secondaryTerminal.fontSize in your VS Code settings.

Accessibility

SettingTypeDefaultDescription
accessibility.screenReaderSupportbooleantrueEnable enhanced screen reader support for terminal content (Phase 8: Advanced Terminal Features).

General

SettingTypeDefaultDescription
activeBorderModestring"multipleOnly"When to show the blue border around the active terminal
allowChordsbooleantrueAllow multi-key chord sequences in terminal keybindings (e.g., Ctrl+K Ctrl+C).
allowMnemonicsbooleantrueAllow Alt key menu mnemonics on Windows and Linux platforms.
altClickMovesCursorbooleantrueControls whether Alt/Option + click will reposition the prompt cursor to underneath the mouse. This feature may not work reliably for some shells or programs.
autoHideStatusbooleantrueAutomatically hide status messages after specified duration
commandsToSkipShellarray[]Array of command IDs that should always be handled by VS Code and not sent to the shell. Prefix with '-' to remove from default skip list (e.g., '-workbench.action.quickOpen').
confirmBeforeKillbooleanfalseShow confirmation dialog before closing terminals
cursorBlinkbooleantrueEnable cursor blinking in terminal.
cursorStylestring"block"Controls the style of terminal cursor.
cursorWidthnumber1Controls the width of the cursor when cursorStyle is set to 'bar'.
defaultDirectorystring""Default directory for new terminals. Leave empty to use workspace root.
drawBoldTextInBrightColorsbooleantrueControls whether bold text in the terminal will always use the "bright" ANSI color variant.
dynamicSplitDirectionbooleantrueAutomatically adjust split direction based on panel location: horizontal splits in bottom panel, vertical splits in sidebar
enableAtMentionSyncbooleanfalseEnable automatic @filename mention when CLI Agent sends to standard terminal
enableCliAgentIntegrationbooleantrueEnable file reference shortcuts: Use Cmd+Option+L (Mac) or Alt+Ctrl+L (Linux/Windows) to insert file references
enableGitHubCopilotIntegrationbooleantrueEnable GitHub Copilot Chat integration: Use Cmd+K Cmd+C (Mac) or Ctrl+K Ctrl+C (Linux/Windows) to activate Copilot Chat
enablePersistentSessionsbooleantrueEnable terminal session persistence: Restore terminal contents and state after VS Code restart
enableShellIntegrationbooleantrueEnable shell integration for command tracking, history, and working directory detection. Requires terminal restart to take effect.
enableSplitResizebooleantrueAllow resizing split terminals by dragging splitters
enableTerminalHeaderEnhancementsbooleantrueEnable enhanced terminal header UI (processing indicator and color palette editor).
focusAfterAtMentionbooleantrueFocus secondary terminal after sending @filename with CMD+OPT+L
focusProtectionbooleantruePrevent other extensions (e.g. Claude Code) from stealing focus away from the sidebar terminal. When enabled, focus is automatically restored if it is taken while the sidebar terminal is active.
fontFamilystring"monospace"Controls the font family of the terminal. This defaults to VS Code's editor.fontFamily value.
fontSizenumber12Controls the font size in pixels of the terminal.
fontWeightstring"normal"The font weight to use within the terminal for non-bold text. Accepts normal and bold keywords or numbers between 1 and 1000.
fontWeightBoldstring"bold"The font weight to use within the terminal for bold text. Accepts normal and bold keywords or numbers between 1 and 1000.
headerFontSizenumber14Font size for webview header title
headerIconSizenumber20Size of terminal icon in webview header
letterSpacingnumber0Controls the letter spacing of the terminal, this is an integer value which represents the amount of additional pixels to add between characters.
lineHeightnumber1Controls the line height of the terminal, this number is multiplied by the terminal font size to get the actual line-height in pixels.
maxSplitTerminalsnumber10Maximum number of terminals to display in split view
maxTerminalsnumber10Maximum number of terminals allowed.
minimumContrastRationumber1When set, the foreground color of each cell will change to try meet the contrast ratio specified. Example values: - 1: Do nothing and use the standard theme colors. - 4.5: WCAG AA compliance (minimum). - 7: WCAG AAA compliance (enhanced). - 21: White on black or black on white.
minTerminalCountnumber1Minimum number of terminals to keep open
minTerminalHeightnumber100Minimum height for each terminal in split view (pixels)
panelLocationstring"auto"Panel location preference for dynamic split direction
persistentSessionRetentionDaysnumber7Number of days to retain session data before automatic cleanup
persistentSessionReviveProcessstring"onExitAndWindowClose"When to save terminal sessions for restoration
persistentSessionScrollbacknumber1000Number of lines to restore from terminal history (0 to disable scrollback restore)
persistentSessionStorageLimitnumber20Maximum storage size for session data in MB (session will be optimized or cleared if exceeded)
persistentSessionStorageWarningThresholdnumber80Storage usage percentage threshold for optimization warning (default: 80%)
protectLastTerminalbooleantruePrevent closing the last terminal
restoreScrollbackbooleantrueEnable restoration of terminal command history and output (scrollback buffer)
sampleIconOpacitynumber0.4Opacity of sample icons (0.1 to 1.0)
sampleIconSizenumber16Size of sample icons in webview header
scrollbacknumber2000Controls the maximum number of lines the terminal keeps in its buffer.
scrollbackCompressionbooleantrueCompress scrollback data to reduce storage size
scrollbackLinesnumber2000Maximum number of lines to restore from terminal history (0 to disable)
scrollbackMaxStorageSizenumber20971520Maximum storage size for scrollback data in bytes (1MB - 100MB)
scrollbackProgressiveLoadbooleanfalseLoad scrollback data progressively for better performance with large histories
sendKeybindingsToShellbooleanfalseControls whether keybindings are automatically sent to the shell instead of being handled by VS Code workbench.
shellstring""Path to shell executable. Leave empty to use system default.
shellArgsarray[]Arguments to pass to the shell.
showSampleIconsbooleantrueShow sample command icons in webview header (display only)
showWebViewHeaderbooleantrueShow title and command icons in the webview header
statusDisplayDurationnumber3000Duration to display status messages (milliseconds)
themestring"auto"Terminal theme. Auto follows VS Code theme.
webViewTitlestring"Terminal"Title to display in the webview header

Agent Toast Notification

SettingTypeDefaultDescription
agentToastNotification.cooldownMsnumber10000Minimum interval between toast notifications per terminal (ms)
agentToastNotification.enabledbooleantrueShow toast notifications when a CLI agent completes processing

Decorations

SettingTypeDefaultDescription
decorations.enabledbooleantrueEnable visual decorations for command success/error indicators (Phase 8: Advanced Terminal Features).
decorations.errorColorstring"#ff0000"Color for failed command decorations.
decorations.runningColorstring"#ffff00"Color for running command decorations.
decorations.showInGutterbooleantrueShow command decorations in the terminal gutter area.
decorations.showInOverviewRulerbooleantrueShow command decorations in the overview ruler.
decorations.successColorstring"#00ff00"Color for successful command decorations.

Default Profile

SettingTypeDefaultDescription
defaultProfile.linuxstring,nullnullThe default terminal profile name on Linux. Enter a profile name (not a path). Examples: bash, zsh, fish. To see available profiles, run Terminal: Select Default Profile from the Command Palette.
defaultProfile.osxstring,nullnullThe default terminal profile name on macOS. Enter a profile name (not a path). Examples: zsh, bash, fish. To see available profiles, run Terminal: Select Default Profile from the Command Palette.
defaultProfile.windowsstring,nullnullThe default terminal profile name on Windows. Enter a profile name (not a path). Examples: PowerShell, PowerShell 7, Command Prompt, Git Bash. To see available profiles, run Terminal: Select Default Profile from the Command Palette.

Features

SettingTypeDefaultDescription
features.enhancedScrollbackPersistencebooleantrueEnable VS Code-compatible enhanced scrollback persistence with full state restoration. Enabled by default to mirror VS Code.
features.fullANSISupportbooleantrueEnable full ANSI escape sequence support (256-color, true color, text formatting).
features.scrollbackLineLimitnumber1000Maximum number of scrollback lines to persist (200-3000). Higher values use more storage. Default: 1000 (matching VS Code).
features.vscodeKeyboardShortcutsbooleantrueEnable VS Code standard keyboard shortcuts (Ctrl+C copy/SIGINT, Ctrl+V paste, etc.).
features.vscodeStandardCursorbooleantrueEnable VS Code standard cursor rendering with configurable styles and blinking. Enabled by default to match VS Code.
features.vscodeStandardIMEbooleantrueEnable VS Code standard IME composition handling patterns. Enabled by default to mirror VS Code.
SettingTypeDefaultDescription
links.detectEmailLinksbooleantrueDetect and highlight email addresses as clickable links.
links.detectFileLinksbooleantrueDetect and highlight file paths as clickable links.
links.detectWebLinksbooleantrueDetect and highlight web URLs as clickable links.
links.enabledbooleantrueEnable automatic link detection in terminal output (Phase 8: Advanced Terminal Features).
links.maxLinksPerLinenumber10Maximum number of links to detect per line for performance.

Logging

SettingTypeDefaultDescription
logging.enableContextbooleantrueInclude context information (source location) in log messages.
logging.enableTimestampbooleantrueInclude timestamps in log messages.
logging.levelstring"warn"Set the logging level for the extension. View logs in Output > Secondary Terminal.

Native Notification

SettingTypeDefaultDescription
nativeNotification.activateWindowbooleantrueBring VS Code window to foreground when a CLI agent completes processing
nativeNotification.cooldownMsnumber10000Minimum interval between native OS notifications per terminal (ms)
nativeNotification.enabledbooleantrueShow OS-native notifications when a CLI agent completes processing (works even when VS Code is not focused)
SettingTypeDefaultDescription
navigation.enabledbooleantrueEnable advanced terminal navigation features (Phase 8: Advanced Terminal Features).
navigation.showCommandMarksbooleantrueShow visual marks at command boundaries for easy navigation.

Panel Navigation

SettingTypeDefaultDescription
panelNavigation.enabledbooleanfalseEnable panel navigation mode (Ctrl+P). When enabled, pressing Ctrl+P toggles a navigation mode where h/j/k/l or arrow keys switch between terminals.

Profiles

SettingTypeDefaultDescription
profiles.linuxobject{}The Linux terminal profiles to present when creating a new terminal via the terminal dropdown. Set to null to exclude a profile from the list, for example: "secondaryTerminal.profiles.linux": { "bash": null }.
profiles.osxobject{}The macOS terminal profiles to present when creating a new terminal via the terminal dropdown. Set to null to exclude a profile from the list, for example: "secondaryTerminal.profiles.osx": { "bash": null }.
profiles.windowsobject{}The Windows terminal profiles to present when creating a new terminal via the terminal dropdown. Set to null to exclude a profile from the list, for example: "secondaryTerminal.profiles.windows": { "Command Prompt": null }.

Shell Integration

SettingTypeDefaultDescription
shellIntegration.commandHistorybooleantrueEnable command history tracking and quick access.
shellIntegration.enabledbooleantrueEnable VS Code shell integration features (command tracking, working directory detection, status indicators).
shellIntegration.showCommandStatusbooleantrueShow command status indicators in terminal headers (success/error/running).
shellIntegration.showWorkingDirectorybooleantrueShow current working directory in terminal headers.

Released under the MIT License.