preferredJumpableDefinitionTarget
preferredJumpableDefinitionTarget(
activeUri,activeDocument,sourceRange,result):LanguageServerDefinitionTarget|null
Pick the best target to render a ctrl/cmd-hover definition link for. Same preference rules as preferredDefinitionTarget but filters out targets that would point back at (or overlap with) the hovered identifier itself — the user would not be able to “jump” to the definition they are already looking at.
Parameters
Section titled “Parameters”activeUri
Section titled “activeUri”string
activeDocument
Section titled “activeDocument”LspTextDocumentSnapshot
sourceRange
Section titled “sourceRange”OffsetRange