I've get caught by this missing feature almost daily: when a doc link points to a selector (as in // [Foo.Bar] is a Baz), why don't we support jump-to-definition when Bar is a field?! I don't see anything in https://go.dev/doc/comment#doclinks that indicates field selectors are not allowed.

In the code, we explicitly filter to *types.Func with no explanation. I'm going to remove that filtering...

Comment From: gopherbot

Change https://go.dev/cl/696435 mentions this issue: gopls: support jump to definition for field links in comments