Optional
onAn optional event to signal that inlay hints from this provider have changed.
Provide inlay hints for the given range and document.
Note that inlay hints that are not contained by the given range are ignored.
The document in which the command was invoked.
The range for which inlay hints should be computed.
A cancellation token.
An array of inlay hints or a thenable that resolves to such.
Optional
resolveGiven an inlay hint fill in tooltip, text edits, or complete label parts.
Note that the editor will resolve an inlay hint at most once.
An inlay hint.
A cancellation token.
The resolved inlay hint or a thenable that resolves to such. It is OK to return the given item
. When no result is returned, the given item
will be used.
The inlay hints provider interface defines the contract between extensions and the inlay hints feature.