So far, the go_to_definition provider did not provide a originSelectionRange. Hence, VS Code was falling back on its internal tokenization to decide which part of the text to provide the HyperLink for.
For the label "my/package:file.txt", we hence linked my, package, file and txt individually, all pointing to the same file.
With this change, we now instead always provide the link on the full label.
So far, the
go_to_definition
provider did not provide aoriginSelectionRange
. Hence, VS Code was falling back on its internal tokenization to decide which part of the text to provide the HyperLink for.For the label "my/package:file.txt", we hence linked
my
,package
,file
andtxt
individually, all pointing to the same file.With this change, we now instead always provide the link on the full label.