Protected
_Protected
Readonly
contextProtected
Readonly
contributedProtected
Readonly
fileProtected
Readonly
labelProtected
mergeProtected
mostIDs of the most recently used terminals
Readonly
onProtected
Readonly
onReadonly
onProtected
Readonly
onProtected
Readonly
preferenceProtected
Readonly
profileProtected
Readonly
quickProtected
Readonly
selectionProtected
Readonly
shellProtected
Readonly
shellProtected
Readonly
storageProtected
terminalProtected
Readonly
terminalProtected
Readonly
userProtected
Readonly
variableProtected
Readonly
widgetProtected
Readonly
workspaceProtected
chooseProtected
confirmthe widget id (NOT the terminal id!)
the widget
Returns detected default shell.
Protected
getProtected
initProtected
mergeCreate new terminal with predefined options.
terminal options.
Called when the application is started. The application shell is not attached yet when this method runs. Should return a promise if it runs asynchronously.
Called on beforeunload
event, right before the window closes.
Return true
or an OnWillStopAction in order to prevent exit.
Note: No async code allowed, this function has to run on one tick.
TODO: reuse WidgetOpenHandler.open
Optional
options: WidgetOpenerOptionsProtected
openOptional
options: ApplicationShell.WidgetOptionsProtected
openOptional
options: ApplicationShell.WidgetOptionsOptional
terminalProfile: TerminalProfileIt should be aligned with https://code.visualstudio.com/api/references/theme-color#integrated-terminal-colors
Registers keybindings.
the keybinding registry.
Registers toolbar items.
the tabbar toolbar registry.
Protected
resolveProtected
selectProtected
selectProtected
setProtected
setProtected
splitOptional
referenceTerminal: TerminalWidgetProtected
toggleProtected
updateProtected
with
The command contribution should be implemented to register custom commands and handler.