Options
All
  • Public
  • Public/Protected
  • All
Menu

The hover provider interface defines the contract between extensions and the hover-feature.

层级

  • HoverProvider

索引

Methods(1)

Methods(1)

provideHover

  • Provide a hover for the given position and document. Multiple hovers at the same position will be merged by the editor. A hover can have a range which defaults to the word range at the position when omitted.

    Parameters

    Returns ProviderResult<Hover>

    A hover or a thenable that resolves to such. The lack of a result can be signaled by returning undefined or null.

友链:VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场

Generated by TypeDoc. Maintained by 洛竹