An open API service indexing awesome lists of open source software.

https://github.com/tmc/komodo-go

Komodo extension to add Go support
https://github.com/tmc/komodo-go

Last synced: about 1 year ago
JSON representation

Komodo extension to add Go support

Awesome Lists containing this project

README

          

[Komodo](http://www.activestate.com/komodo) extension to add support for the [Go
language](http://golang.org).

![Example screenshot](https://github.com/traviscline/komodo-go/raw/master/example.png)

This project lives on github at:

I haven't yet put up a build to the [Komodo addons
site](http://community.activestate.com/addons) so you'll have to build it
yourself for now. I plan to upload something soon.

# Building

- Find the 'koext' binary that is within your Komodo install (within sdk/bin).
- Run 'koext build' from the repository root, it should produce an .xpi for you.
- Open this .xpi with Komodo to install it.
- Ensure 'go' and 'gocode' are on the PATH configured in your overall or project-specific Komodo settings
- For completion and go to definition ensure 'gocode' and 'godef' are on your paths as well.
- To install gocode and godef:
- $ go get github.com/nsf/gocode
- $ go get code.google.com/p/rog-go/exp/cmd/godef

# Features

- Syntax highlighting (including folding)
- File-type detection for .go files
- Linting
- Codeintel via [Gocode](https://github.com/nsf/gocode)
- Jump to definition via [godef](http://godoc.org/code.google.com/p/rog-go/exp/cmd/godef)