Interface TerminalServiceExt
Methods
$currentTerminalChanged
- $currentTerminalChanged(id: undefined | string): void
$handleTerminalLink
Parameters
Returns Promise<void>
$initEnvironmentVariableCollections
- $initEnvironmentVariableCollections(collections: [string, SerializableEnvironmentVariableCollection][]): void
Parameters
collections: [string, SerializableEnvironmentVariableCollection][]
Returns void
$provideTerminalLinks
- $provideTerminalLinks(line: string, terminalId: string, token: CancellationToken): Promise<ProvidedTerminalLink[]>
Parameters
line: string
terminalId: string
token: CancellationToken
$startProfile
- $startProfile(providerId: string, cancellationToken: CancellationToken): Promise<string>
Parameters
providerId: string
cancellationToken: CancellationToken
Returns Promise<string>
$terminalClosed
- $terminalClosed(id: string, exitStatus: undefined | TerminalExitStatus): void
Parameters
id: string
exitStatus: undefined | TerminalExitStatus
Returns void
$terminalCreated
- $terminalCreated(id: string, name: string): void
$terminalNameChanged
- $terminalNameChanged(id: string, name: string): void
$terminalOnInput
- $terminalOnInput(id: string, data: string): void
$terminalOpened
- $terminalOpened(id: string, processId: number, terminalId: number, cols: number, rows: number): void
Parameters
id: string
processId: number
terminalId: number
cols: number
rows: number
Returns void
$terminalSizeChanged
- $terminalSizeChanged(id: string, cols: number, rows: number): void
Parameters
id: string
cols: number
rows: number
Returns void
$terminalStateChanged
- $terminalStateChanged(id: string): void
getEnvironmentVariableCollection
- getEnvironmentVariableCollection(extensionIdentifier: string): EnvironmentVariableCollection
Parameters
extensionIdentifier: string
Returns EnvironmentVariableCollection