Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface InlayHintsProvider<T>

The inlay hints provider interface defines the contract between extensions and the inlay hints feature.

Type Parameters

Hierarchy

  • InlayHintsProvider

Index

Properties

onDidChangeInlayHints?: Event<void>

An optional event to signal that inlay hints from this provider have changed.

Methods

  • Given an inlay hint fill in tooltip, text edits, or complete label parts.

    Note that the editor will resolve an inlay hint at most once.

    Parameters

    Returns ProviderResult<T>

    The resolved inlay hint or a thenable that resolves to such. It is OK to return the given item. When no result is returned, the given item will be used.