Godef icon indicating copy to clipboard operation
Godef copied to clipboard

GoTo Definition with columns can reopen the file.

Open bk800 opened this issue 5 years ago • 0 comments

I usually use 2 columns under "View"->"Layout".

I have source fileA in Col1, and another source fileB containing the definition of a function is in Col2.

Using "GoTo definition" in the source fileA sometimes reopens fileB in Col1 and goes to the definition.

It would be better if it found the source fileB in Col2 that is already open, and went to the definition there. No need to have the same file open twice.

Thx

bk800 avatar May 08 '20 22:05 bk800