Inlay hint information.
Inlay hint information.
(kind inlay-hint)
The kind of this hint. The inlay hint kind defines the appearance of this inlay hint.
Returns: InlayHintKind | undefined
The kind of this hint. The inlay hint kind defines the appearance of this inlay hint. **Returns:** `InlayHintKind | undefined`
(label inlay-hint)
The label of this hint. A human readable string or an array of {@link InlayHintLabelPart label parts}.
Note that neither the string nor the label part can be empty.
Returns: string | InlayHintLabelPart[]
The label of this hint. A human readable string or an array of {@link InlayHintLabelPart label parts}. *Note* that neither the string nor the label part can be empty. **Returns:** `string | InlayHintLabelPart[]`
(padding-left? inlay-hint)
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.
Returns: boolean | undefined
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. **Returns:** `boolean | undefined`
(padding-right? inlay-hint)
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.
Returns: boolean | undefined
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. **Returns:** `boolean | undefined`
(position inlay-hint)
The position of this hint.
Returns: Position
The position of this hint. **Returns:** `Position`
(set-kind! inlay-hint value)
The kind of this hint. The inlay hint kind defines the appearance of this inlay hint.
The kind of this hint. The inlay hint kind defines the appearance of this inlay hint.
(set-label! inlay-hint value)
The label of this hint. A human readable string or an array of {@link InlayHintLabelPart label parts}.
Note that neither the string nor the label part can be empty.
The label of this hint. A human readable string or an array of {@link InlayHintLabelPart label parts}. *Note* that neither the string nor the label part can be empty.
(set-padding-left! inlay-hint value)
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.
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.
(set-padding-right! inlay-hint value)
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.
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.
(set-position! inlay-hint value)
The position of this hint.
The position of this hint.
(set-text-edits! inlay-hint value)
Optional {@link TextEdit text edits} that are performed when accepting this inlay hint. The default gesture for accepting an inlay hint is the double click.
Note that edits are expected to change the document so that the inlay hint (or its nearest variant) is now part of the document and the inlay hint itself is now obsolete.
Note that this property can be set late during {@link InlayHintsProvider.resolveInlayHint resolving} of inlay hints.
Optional {@link TextEdit text edits} that are performed when accepting this inlay hint. The default gesture for accepting an inlay hint is the double click. *Note* that edits are expected to change the document so that the inlay hint (or its nearest variant) is now part of the document and the inlay hint itself is now obsolete. *Note* that this property can be set late during {@link InlayHintsProvider.resolveInlayHint resolving} of inlay hints.
(set-tooltip! inlay-hint value)
The tooltip text when you hover over this item.
Note that this property can be set late during {@link InlayHintsProvider.resolveInlayHint resolving} of inlay hints.
The tooltip text when you hover over this item. *Note* that this property can be set late during {@link InlayHintsProvider.resolveInlayHint resolving} of inlay hints.
(text-edits inlay-hint)
Optional {@link TextEdit text edits} that are performed when accepting this inlay hint. The default gesture for accepting an inlay hint is the double click.
Note that edits are expected to change the document so that the inlay hint (or its nearest variant) is now part of the document and the inlay hint itself is now obsolete.
Note that this property can be set late during {@link InlayHintsProvider.resolveInlayHint resolving} of inlay hints.
Returns: TextEdit[] | undefined
Optional {@link TextEdit text edits} that are performed when accepting this inlay hint. The default gesture for accepting an inlay hint is the double click. *Note* that edits are expected to change the document so that the inlay hint (or its nearest variant) is now part of the document and the inlay hint itself is now obsolete. *Note* that this property can be set late during {@link InlayHintsProvider.resolveInlayHint resolving} of inlay hints. **Returns:** `TextEdit[] | undefined`
(tooltip inlay-hint)
The tooltip text when you hover over this item.
Note that this property can be set late during {@link InlayHintsProvider.resolveInlayHint resolving} of inlay hints.
Returns: string | MarkdownString | undefined
The tooltip text when you hover over this item. *Note* that this property can be set late during {@link InlayHintsProvider.resolveInlayHint resolving} of inlay hints. **Returns:** `string | MarkdownString | undefined`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close