DefinitionLinkControllerOptions
DefinitionLinkControllerOptions =
object
Properties
Section titled “Properties”context
Section titled “context”
readonlycontext:EditorViewContributionContext
linkHighlightNameNamespace?
Section titled “linkHighlightNameNamespace?”
readonlyoptionallinkHighlightNameNamespace?:string
navigationTimingNamePrefix?
Section titled “navigationTimingNamePrefix?”
readonlyoptionalnavigationTimingNamePrefix?:string
router
Section titled “router”
readonlyrouter:LanguageServerFeatureRouter
Methods
Section titled “Methods”getActiveDocument()
Section titled “getActiveDocument()”getActiveDocument():
ActiveDocument|null
Returns
Section titled “Returns”ActiveDocument | null
onDefinitionLinkHover()?
Section titled “onDefinitionLinkHover()?”
optionalonDefinitionLinkHover(target):void| (() =>void)
Parameters
Section titled “Parameters”target
Section titled “target”LanguageServerDefinitionTarget
Returns
Section titled “Returns”void | (() => void)
onOpenDefinition()?
Section titled “onOpenDefinition()?”
optionalonOpenDefinition(target,options?):boolean|void
Parameters
Section titled “Parameters”target
Section titled “target”LanguageServerDefinitionTarget
options?
Section titled “options?”LanguageServerNavigationOptions
Returns
Section titled “Returns”boolean | void
onOpenReferences()?
Section titled “onOpenReferences()?”
optionalonOpenReferences(result):boolean|void
Parameters
Section titled “Parameters”result
Section titled “result”LanguageServerReferencesResult
Returns
Section titled “Returns”boolean | void
onRequestError()
Section titled “onRequestError()”onRequestError(
error):void
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”void