View Source GenLSP.Structures.InlayHintLabelPart (gen_lsp v0.10.0)
An inlay hint label part allows for interactive and composite labels of inlay hints.
@since 3.17.0
Link to this section Summary
Functions
Fields
value: The value of this label part.
Link to this section Types
@type t() :: %GenLSP.Structures.InlayHintLabelPart{ command: GenLSP.Structures.Command.t() | nil, location: GenLSP.Structures.Location.t() | nil, tooltip: (String.t() | GenLSP.Structures.MarkupContent.t()) | nil, value: String.t() }
Link to this section Functions
fields
Fields
value: The value of this label part.
tooltip: The tooltip text when you hover over this label part. Depending on the client capability
inlayHint.resolveSupport
clients might resolve this property late using the resolve request.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.
Depending on the client capability
inlayHint.resolveSupport
clients might resolve this property late using the resolve request.command: An optional command for this label part.
Depending on the client capability
inlayHint.resolveSupport
clients might resolve this property late using the resolve request.