Contribution point that allows extensions to intercept terminal placement
and take ownership of how/where terminals are displayed.
When a terminal is opened via TerminalService.open, registered
handlers are consulted in priority order. A handler can:
Return true to claim the terminal (the default shell placement is skipped)
Return false / undefined to decline (the next handler or default behavior applies)
This is the canonical way for alternative terminal UIs (e.g. the terminal
manager's tree view) to take ownership of terminal placement without relying
on post-hoc event interception or timing-sensitive side-channel flags.
Contribution point that allows extensions to intercept terminal placement and take ownership of how/where terminals are displayed.
When a terminal is opened via TerminalService.open, registered handlers are consulted in priority order. A handler can:
trueto claim the terminal (the default shell placement is skipped)false/undefinedto decline (the next handler or default behavior applies)This is the canonical way for alternative terminal UIs (e.g. the terminal manager's tree view) to take ownership of terminal placement without relying on post-hoc event interception or timing-sensitive side-channel flags.