Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TerminalFrontendContribution

Hierarchy

  • TerminalFrontendContribution

Implements

  • FrontendApplicationContribution
  • TerminalService
  • CommandContribution
  • MenuContribution
  • KeybindingContribution
  • TabBarToolbarContribution
  • ColorContribution

Index

Constructors

Properties

_currentTerminal: undefined | TerminalWidget
contextKeyService: ContextKeyService
fileService: FileService
labelProvider: LabelProvider
mostRecentlyUsedTerminalEntries: { disposables: DisposableCollection; id: string }[] = []
onDidChangeCurrentTerminal: Event<undefined | TerminalWidget> = ...
onDidChangeCurrentTerminalEmitter: Emitter<undefined | TerminalWidget> = ...
onDidCreateTerminal: Event<TerminalWidget> = ...
onDidCreateTerminalEmitter: Emitter<TerminalWidget> = ...
quickInputService: QuickInputService
selectionService: SelectionService
shell: ApplicationShell
shellTerminalServer: ShellTerminalServerProxy
storageService: StorageService
terminalPreferences: TerminalPreferences
terminalWatcher: TerminalWatcher
widgetManager: WidgetManager
workspaceService: WorkspaceService

Accessors

Methods

  • confirmExitWithActiveTerminals(activeTerminalCount: number): Promise<boolean>
  • getDefaultShell(): Promise<string>
  • getLastUsedTerminalId(): undefined | string
  • init(): void
  • onWillStop(): undefined | OnWillStopAction<number>
  • openActiveWorkspaceTerminal(options?: WidgetOptions): Promise<void>
  • openInTerminal(uri: URI): Promise<void>
  • openTerminal(options?: WidgetOptions): Promise<void>
  • registerColors(colors: ColorRegistry): void
  • registerCommands(commands: CommandRegistry): void
  • registerKeybindings(keybindings: KeybindingRegistry): void
  • registerMenus(menus: MenuModelRegistry): void
  • registerToolbarItems(toolbar: TabBarToolbarRegistry): void
  • selectTerminalCwd(): Promise<undefined | string>
  • splitTerminal(widget?: Widget): Promise<void>
  • toggleTerminal(): void
  • updateCurrentTerminal(): void