Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TerminalFrontendContribution

Hierarchy

  • TerminalFrontendContribution

Implements

Index

Properties

Protected _currentTerminal

_currentTerminal: TerminalWidget | undefined

Protected Readonly contextKeyService

contextKeyService: ContextKeyService

Protected Readonly fileService

fileService: FileService

Protected Readonly labelProvider

labelProvider: LabelProvider

Protected mostRecentlyUsedTerminalEntries

mostRecentlyUsedTerminalEntries: { disposables: DisposableCollection; id: string }[] = []

Readonly onDidChangeCurrentTerminal

onDidChangeCurrentTerminal: Event<TerminalWidget | undefined> = this.onDidChangeCurrentTerminalEmitter.event

Protected Readonly onDidChangeCurrentTerminalEmitter

onDidChangeCurrentTerminalEmitter: Emitter<undefined | TerminalWidget> = new Emitter<TerminalWidget | undefined>()

Readonly onDidCreateTerminal

onDidCreateTerminal: Event<TerminalWidget> = this.onDidCreateTerminalEmitter.event

Protected Readonly onDidCreateTerminalEmitter

onDidCreateTerminalEmitter: Emitter<TerminalWidget> = new Emitter<TerminalWidget>()

Protected Readonly quickPick

quickPick: QuickPickService

Protected Readonly selectionService

selectionService: SelectionService

Protected Readonly shell

Protected Readonly shellTerminalServer

shellTerminalServer: ShellTerminalServerProxy

Protected Readonly storageService

storageService: StorageService

Protected Readonly terminalWatcher

terminalWatcher: TerminalWatcher

Protected Readonly widgetManager

widgetManager: WidgetManager

Protected Readonly workspaceService

workspaceService: WorkspaceService

Accessors

all

currentTerminal

lastUsedTerminal

Methods

activateTerminal

getById

getByTerminalId

getDefaultShell

  • getDefaultShell(): Promise<string>

Protected getLastUsedTerminalId

  • getLastUsedTerminalId(): string | undefined

Protected getTerminalRef

Protected init

  • init(): void

newTerminal

open

Protected openActiveWorkspaceTerminal

  • openActiveWorkspaceTerminal(options?: WidgetOptions): Promise<void>

openInTerminal

  • openInTerminal(uri: URI): Promise<void>

Protected openTerminal

registerColors

registerCommands

registerKeybindings

registerMenus

registerToolbarItems

Protected selectTerminalCwd

  • selectTerminalCwd(): Promise<string | undefined>

Protected setCurrentTerminal

Protected setLastUsedTerminal

Protected splitTerminal

  • splitTerminal(widget?: Widget): Promise<void>

Protected updateCurrentTerminal

  • updateCurrentTerminal(): void