Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface OutputChannel

An output channel is a container for readonly textual information.

To get an instance of an OutputChannel use createOutputChannel.

Hierarchy

Index

Properties

name: string

The name of this output channel.

Methods

  • append(value: string): void
  • appendLine(value: string): void
  • clear(): void
  • dispose(): void
  • hide(): void
  • replace(value: string): void
  • Replaces all output from the channel with the given value.

    Parameters

    • value: string

      A string, falsy values will not be printed.

    Returns void

  • show(column?: ViewColumn, preserveFocus?: boolean): void
  • show(preserveFocus?: boolean): void
  • Reveal this channel in the UI.

    deprecated

    Use the overload with just one parameter (show(preserveFocus?: boolean): void).

    Parameters

    • Optional column: ViewColumn

      This argument is deprecated and will be ignored.

    • Optional preserveFocus: boolean

      When true the channel will not take focus.

    Returns void

  • Reveal this channel in the UI.

    Parameters

    • Optional preserveFocus: boolean

      When true the channel will not take focus.

    Returns void