ProtectedcommandProtected ReadonlycommandProtected ReadonlypreferencesProtected ReadonlypreferenceProtected ReadonlyshellProtected ReadonlystateProtected ReadonlyterminalProtected ReadonlyterminalProtected ReadonlywidgetProtecteddeferDefers the terminal creation listener until layout restoration is complete, preventing restored terminals from being mistaken for externally created ones.
ProtectedhandleCalled after the application shell has been attached in case there is no previous workbench layout state. Should return a promise if it runs asynchronously.
ProtectedisCheck if a terminal is a task terminal. Task terminals have a 'kind' property set to 'task'.
ProtectedmigrateMigrate terminals from tabs to terminal manager. Applies only to terminals currently in bottom panel.
ProtectedmigrateMigrate terminals from the terminal manager to the bottom panel as separate tabs.
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.
ProtectedregisterProtectedregisterProtectedregisterRegister a listener to route externally created terminals (e.g. from plugins) into the terminal manager when tree mode is active. Terminals created internally via TerminalManagerWidget.createTerminalWidget are skipped because the command handlers handle their placement.
Protectedunregister
Re-registers terminal commands (e.g. new terminal) to execute them via the terminal manager instead of creating new, separate terminals.