InlayHint

open class InlayHint(source)

Inlay hint information.

Online Documentation

Constructors

Link copied to clipboard
constructor(position: Position, label: JsAny, kind: InlayHintKind = definedExternally)

Creates a new inlay hint.

Properties

Link copied to clipboard

The kind of this hint. The inlay hint kind defines the appearance of this inlay hint.

Link copied to clipboard

The label of this hint. A human readable string or an array of label parts.

Link copied to clipboard

Render padding before the hint. Padding will use the editor's background color, not the background color of the hint itself. That means padding can be used to visually align/separate an inlay hint.

Link copied to clipboard

Render padding after the hint. Padding will use the editor's background color, not the background color of the hint itself. That means padding can be used to visually align/separate an inlay hint.

Link copied to clipboard

The position of this hint.

Link copied to clipboard

Optional text edits that are performed when accepting this inlay hint. The default gesture for accepting an inlay hint is the double click.

Link copied to clipboard

The tooltip text when you hover over this item.