InlayHintLabelPart

langoustine.lsp.structures.InlayHintLabelPart
See theInlayHintLabelPart companion object
case class InlayHintLabelPart(value: String, tooltip: Opt[String | MarkupContent], location: Opt[Location], command: Opt[Command])

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

Value parameters

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.

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.

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.

value

The value of this label part.

Attributes

Since

3.17.0

Companion
object
Source
structures.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product