Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to Open Definition in GoClipse

📅 2016-May-16 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ eclipse, go, goclipse, godef, open definition ⬩ 📚 Archive

The Open Definition operation in a default installation of Go and GoClipse does not work. This functionality of being able to jump to the definition of a type or function is provided by a tool named godef.

$ go get -v

This installs a godef binary in the $GOPATH/bin directory.

Note that GoClipse still does not provide the useful feature of showing details of a type or function in tooltip when you hover over something in the source file.

Tried with: GoClipse 0.14.1, Eclipse 4.5.2, Go 1.6.2 and Ubuntu 14.04