Interface TerminalServiceExt
interface TerminalServiceExt { $currentTerminalChanged(id): void; $handleTerminalLink(link): Promise<void>; $initEnvironmentVariableCollections(collections): void; $provideTerminalLinks(line,
terminalId,
token): Promise<ProvidedTerminalLink[]>; $reportOutputMatch(observerId,
groups): void; $setShell(shell): void; $startProfile(providerId,
cancellationToken): Promise<string>; $terminalClosed(id,
exitStatus): void; $terminalCreated(id,
name): void; $terminalNameChanged(id,
name): void; $terminalOnInput(id,
data): void; $terminalOpened(id,
processId,
terminalId,
cols,
rows): void; $terminalSizeChanged(id,
cols,
rows): void; $terminalStateChanged(id): void; getEnvironmentVariableCollection(extensionIdentifier): GlobalEnvironmentVariableCollection; } Methods
$currentTerminalChanged
- $currentTerminalChanged(id): void
Returns void
$handleTerminalLink
- $handleTerminalLink(link): Promise<void>
Returns Promise<void>
$initEnvironmentVariableCollections
- $initEnvironmentVariableCollections(collections): void
Parameters
- collections: [string, string, boolean, SerializableEnvironmentVariableCollection][]
Returns void
$reportOutputMatch
- $reportOutputMatch(observerId, groups): void
Parameters
- observerId: string
- groups: string[]
Returns void
$setShell
- $setShell(shell): void
Returns void
$startProfile
- $startProfile(providerId, cancellationToken): Promise<string>
Returns Promise<string>
$terminalClosed
- $terminalClosed(id, exitStatus): void
Returns void
$terminalCreated
- $terminalCreated(id, name): void
Returns void
$terminalNameChanged
- $terminalNameChanged(id, name): void
Returns void
$terminalOnInput
- $terminalOnInput(id, data): void
Returns void
$terminalOpened
- $terminalOpened(id, processId, terminalId, cols, rows): void
Parameters
- id: string
- processId: number
- terminalId: number
- cols: number
- rows: number
Returns void
$terminalSizeChanged
- $terminalSizeChanged(id, cols, rows): void
Parameters
- id: string
- cols: number
- rows: number
Returns void
$terminalStateChanged
- $terminalStateChanged(id): void
Returns void
getEnvironmentVariableCollection