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.

层级

  • OutputChannel

索引

Properties(1)

Methods(6)

Properties(1)

Readonly name

name: string

The human-readable name of this output channel.

Methods(6)

append

  • append(value: string): void
  • Append the given value to the channel.

    Parameters

    • value: string

      A string, falsy values will not be printed.

    Returns void

appendLine

  • appendLine(value: string): void
  • Append the given value and a line feed character to the channel.

    Parameters

    • value: string

      A string, falsy values will be printed.

    Returns void

clear

  • clear(): void

show

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

    Parameters

    • Optional preserveFocus: boolean

      When true the channel will not take focus.

    Returns 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

hide

  • hide(): void

dispose

  • dispose(): void
  • Dispose and free associated resources.

    Returns void

VS Code 插件开发中文文档 | VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场

Generated by TypeDoc | 站长统计