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
contributedProfileStore: TerminalProfileStore
fileService: FileService
labelProvider: LabelProvider
mergePreferencesPromise: Promise<void> = ...
mostRecentlyUsedTerminalEntries: { disposables: DisposableCollection; id: string }[] = []
onDidChangeCurrentTerminal: Event<undefined | TerminalWidget> = ...
onDidChangeCurrentTerminalEmitter: Emitter<undefined | TerminalWidget> = ...
onDidCreateTerminal: Event<TerminalWidget> = ...
onDidCreateTerminalEmitter: Emitter<TerminalWidget> = ...
preferenceService: PreferenceService
profileService: TerminalProfileService
quickInputService: QuickInputService
selectionService: SelectionService
shell: ApplicationShell
shellTerminalServer: ShellTerminalServerProxy
storageService: StorageService
terminalPreferences: TerminalPreferences
terminalWatcher: TerminalWatcher
userProfileStore: TerminalProfileStore
variableResolver: VariableResolverService
widgetManager: WidgetManager
workspaceService: WorkspaceService

Accessors

Methods

  • chooseDefaultProfile(): Promise<void>
  • confirmExitWithActiveTerminals(activeTerminalCount: number): Promise<boolean>
  • contributeDefaultProfiles(): Promise<void>
  • getDefaultShell(): Promise<string>
  • getLastUsedTerminalId(): undefined | string
  • init(): void
  • mergePreferences(): Promise<void>
  • onStart(app: FrontendApplication): Promise<void>
  • onWillStop(): undefined | OnWillStopAction<number>
  • openActiveWorkspaceTerminal(options?: WidgetOptions): Promise<void>
  • openInTerminal(uri: URI): Promise<void>
  • openTerminal(options?: WidgetOptions, terminalProfile?: TerminalProfile): Promise<void>
  • registerColors(colors: ColorRegistry): void
  • registerCommands(commands: CommandRegistry): void
  • registerKeybindings(keybindings: KeybindingRegistry): void
  • registerMenus(menus: MenuModelRegistry): void
  • registerToolbarItems(toolbar: TabBarToolbarRegistry): void
  • resolveShellPath(path: undefined | string | string[]): Promise<undefined | string>
  • selectTerminalCwd(): Promise<undefined | string>
  • selectTerminalProfile(placeholder: string): Promise<undefined | [string, TerminalProfile]>
  • toggleTerminal(): void
  • updateCurrentTerminal(): void