Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InlayHintLabelPart

An inlay hint label part allows for interactive and composite labels of inlay hints.

Hierarchy

  • InlayHintLabelPart

Index

Constructors(1)

Properties(4)

Constructors(1)

constructor

Properties(4)

value

value: string

The value of this label part.

Optional tooltip

tooltip: string | MarkdownString

The tooltip text when you hover over this label part.

Note that this property can be set late during resolving of inlay hints.

Optional location

location: Location

An optional source code location that represents this label part.

The editor will use this location for the hover and for code navigation features: This part will become a clickable link that resolves to the definition of the symbol at the given location (not necessarily the location itself), it shows the hover that shows at the given location, and it shows a context menu with further code navigation commands.

Note that this property can be set late during resolving of inlay hints.

Optional command

command: Command

An optional command for this label part.

The editor renders parts with commands as clickable links. The command is added to the context menu when a label part defines location and command .

Note that this property can be set late during resolving of inlay hints.

Generated by TypeDoc. Maintained by 洛竹