Options
All
  • Public
  • Public/Protected
  • All
Menu

Plugin api service allows working with terminal emulator.

Hierarchy

  • TerminalServiceMainImpl

Implements

Index

Constructors

Properties

hostedPluginSupport: HostedPluginSupport
pluginTerminalRegistry: PluginTerminalRegistry
shell: ApplicationShell
shellTerminalServer: ShellTerminalServerProxy
terminalLinkProviders: string[] = []
terminals: TerminalService
toDispose: DisposableCollection = ...

Methods

  • $createTerminal(id: string, options: TerminalOptions, parentId?: string, isPseudoTerminal?: boolean): Promise<string>
  • $dispose(id: string): void
  • $disposeByTerminalId(id: number, waitOnExit?: string | boolean): void
  • $hide(id: string): void
  • $hideByTerminalId(id: number): void
  • $registerTerminalLinkProvider(providerId: string): Promise<void>
  • $resize(id: string, cols: number, rows: number): void
  • $resizeByTerminalId(id: number, cols: number, rows: number): void
  • $sendText(id: string, text: string, addNewLine?: boolean): void
  • $sendTextByTerminalId(id: number, text: string, addNewLine?: boolean): void
  • $setEnvironmentVariableCollection(extensionIdentifier: string, persistent: boolean, collection: undefined | SerializableEnvironmentVariableCollection): void
  • $setName(id: string, name: string): void
  • $setNameByTerminalId(id: number, name: string): void
  • $show(id: string, preserveFocus?: boolean): void
  • $showByTerminalId(id: number, preserveFocus?: boolean): void
  • $unregisterTerminalLinkProvider(providerId: string): Promise<void>
  • $write(id: string, data: string): void
  • $writeByTerminalId(id: number, data: string): void
  • dispose(): void
  • getTerminalLocation(options: TerminalOptions, parentId?: string): undefined | TerminalLocation | TerminalEditorLocationOptions | { parentTerminal: string }
  • provideLinks(line: string, terminal: TerminalWidget, cancellationToken?: CancellationToken): Promise<TerminalLink[]>
  • startProfile(id: string): Promise<string>
  • trackTerminal(terminal: TerminalWidget): Promise<void>
  • updateCurrentTerminal(): void