Godef
Godef copied to clipboard
GoTo Definition with columns can reopen the file.
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