Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to get Outline in GoClipse

📅 2016-May-16 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ eclipse, go, goclipse, oracle, outline ⬩ 📚 Archive

GoClipse cannot show the Outline of a Go source file with just a default installation of Go. You will find that the Outline view is empty and pressing Ctrl + O to get an Outline throws up an error. For Go, the Outline is generated using a tool called Oracle.

$ go get golang.org/x/tools/cmd/oracle

This installs an oracle binary file in $GOPATH/bin directory

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