📅 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
Open Windows -> Preferences -> Go -> Tools and set the path of Oracle.
Restart GoClipse. Outline view should show the details for your currently open source file now.
Tried with: GoClipse 0.14.1, Eclipse 4.5.2, Go 1.6.2 and Ubuntu 14.04