Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • OutputChannel

Implements

  • Disposable

Index

Constructors

Properties

_maxLineNumber: number
contentChangeEmitter: Emitter<void> = ...
decorationIds: Set<string> = ...
disposed: boolean = false
disposedEmitter: Emitter<void> = ...
onContentChange: Event<void> = ...
onDisposed: Event<void> = ...
onVisibilityChange: Event<{ isVisible: boolean; preserveFocus?: boolean }> = ...
preferences: OutputPreferences
resource: OutputResource
textModifyQueue: PQueue<DefaultAddOptions> = ...
toDispose: DisposableCollection = ...
visibilityChangeEmitter: Emitter<{ isVisible: boolean; preserveFocus?: boolean }> = ...
visible: boolean = true

Accessors

  • get isVisible(): boolean
  • get maxLineNumber(): number
  • set maxLineNumber(maxLineNumber: number): void
  • get name(): string
  • get uri(): URI

Methods

  • clear(): void
  • dispose(): void
  • doAppend(__namedParameters: { appendEol?: boolean; content: string; severity: OutputChannelSeverity }): Promise<void>
  • ensureMaxChannelHistory(textModel: ITextModel): void
  • hide(): void
  • show(__namedParameters?: { preserveFocus: boolean }): void
  • If preserveFocus is true, the channel will not take focus. It is false by default.

    • Calling show without args or with preserveFocus: false will reveal and activate the Output widget.
    • Calling show with preserveFocus: true will reveal the Output widget but won't activate it.

    Parameters

    • __namedParameters: { preserveFocus: boolean } = ...
      • preserveFocus: boolean

    Returns void