Jump to definition in same file should not open a new tab

The Client struct is defined a few lines above https://gitlab.com/gitlab-org/gitlab-shell/-/blob/master/internal/gitlabnet/lfsauthenticate/client.go#L33

Screen_Shot_2020-04-02_at_4.27.05_PM

Clicking on *Client at the end of the line opens a new tab with the exact same file, but a different line highlighted

Proposal

If the definition is in the same file, highlight and scroll to the line above.

Edited Apr 02, 2020 by James Ramsay (ex-GitLab)
Assignee Loading
Time tracking Loading