joefitzgerald/go-plus

Add 'Go To Definition' Support

joefitzgerald opened this issue · 15 comments

It would be nice to have a keyboard shortcut / right click menu item / menu item to go to definition for the current cursor position.

FYI: In Sublime Text 3, this is Cmd-Option-down (cross-language, possibly ctags or something like it). There are also Jump Back and Jump Forward to use alongside this or other forms of navigation.

+1 this is really important ______)

+1

👍

Seems like this might be the new highest priority feature now that gocode autocomplete is in the package. Will prioritize it accordingly.

+1 Good work!

+1 The go-oracle package seems broken for me so I really want this so I can go to definitions.

+1 Would be incredibly useful.
Great plugin so far!

+5

clns commented

Is there any new progress on this? I see the go-oracle branch but it hasn't been updated in almost a year. I'm asking for a starting point one could use to potentially help with this.

Yes, see #137. I just need to get an API added to https://atom.io/packages/symbols-view.

Closing in deference to #137.