How to get Outline in GoClipse

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.

  • Install Oracle:
$ go get

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

  • 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

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s