When returning Location classes from a DefinitionProvider, VS code shows a preview of the code if you hold Cmd while hovering over a symbol:

Multiple lines are shown, leading me to believe this is intended to show a snippet of the code that defines this symbol.
However, if I switch to using LocationLink where targetRange points at the full code snippet and targetSelectionRange includes only the name of the function (the LSP docs say "e.g the name of a function" for targetSelectionRange) then the preview only shows the targetSelectionRange code, which means the preview shows only the function name (which seems a bit pointless):

It seems like maybe this should be using the targetRange so there is some preview of the code, as it did for Location?