Gocode Go Language Autocomplete

Find Tips and tricks on how to better use the Zeus IDE. Feel free to post your own tips but please do not post bug reports, feature requests or questions here.
Post Reply
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Gocode Go Language Autocomplete

Post by jussij »

Zeus now has support for the Gocode Go language autocomplete and goto definition code navigation straight out of the box.

The details below are still somewhat correct but the process is now as simple as download and installing the software.

Example of Dot Completion

Image

Example of Intellisense Completion

Image

Setup Instructions

To make this work do the following:
  1. Make sure you are running the latest version of Zeus found here: http://www.zeusedit.com/download.html
  2. Start Zeus and use the Options, Document Types menu to edit the Go document type, selecting the Triggers panel
  3. Use the go_intellisense.py script for Dot Autocomplete
  4. Use the go_intellisense.py script for Brace Autocomplete
  5. Use the go_intellisense.py script for Autocomplete
  6. Use the go_goto_definition.py script for Goto Definition
  7. Use the go_declaration.py script for Goto Declaration
  8. Edit some Go code and you should see intellisense on the dot key, the open bracket key and the Ctrl+Space key and goto declaration, goto defenition menus.
Other Zeus Go Configurations
Go Language Tutorial
Zeus + goimports
Post Reply