Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Atom Editor Golang - Go To Declaration not working

Tags:

go

atom-editor

I've done a fresh install of atom and installed go-plus package. The one feature I can't get working is the "Go To Declaration" which is why I'm still stuck in sublime land... Does anyone know if this works with golang? I't appears that I need to have ctags for my project? Whats the best way to get this going for atom? I've tried installing other packages that geverate the ctags but I don't think that helped. Has anyone got this working? What did you do?

like image 518
mcbain83 Avatar asked Jul 16 '15 13:07

mcbain83


1 Answers

Fresh install of Atom 1.3.3 with go-plus 3.5.2 and it worked.

By default, the shortcut is Alt+Cmd+G, but you can change as explained here

Update December, 22th:

With the latest update of Atom (1.12.7) and go-plus (5.0.6), the hyperclick package (v 0.0.39) is installed and CMD+click will take you to the definition

like image 98
Alessio Avatar answered Oct 06 '22 11:10

Alessio