Options
All
  • Public
  • Public/Protected
  • All
Menu

A link on a terminal line.

层级

  • TerminalLink

索引

Constructors(1)

Properties(3)

Constructors(1)

constructor

  • new TerminalLink(startIndex: number, length: number, tooltip?: string): TerminalLink
  • Creates a new terminal link.

    Parameters

    • startIndex: number

      The start index of the link on TerminalLinkContext.line.

    • length: number

      The length of the link on TerminalLinkContext.line.

    • Optional tooltip: string

      The tooltip text when you hover over this link.

      If a tooltip is provided, is will be displayed in a string that includes instructions on how to trigger the link, such as {0} (ctrl + click). The specific instructions vary depending on OS, user settings, and localization.

    Returns TerminalLink

Properties(3)

startIndex

startIndex: number

The start index of the link on TerminalLinkContext.line.

length

length: number

The length of the link on TerminalLinkContext.line.

Optional tooltip

tooltip: string

The tooltip text when you hover over this link.

If a tooltip is provided, is will be displayed in a string that includes instructions on how to trigger the link, such as {0} (ctrl + click). The specific instructions vary depending on OS, user settings, and localization.

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

Generated by TypeDoc | 站长统计