Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Todd Whiteman committed Oct 8, 2014
1 parent 66f08f0 commit 1646972
Showing 1 changed file with 12 additions and 27 deletions.
39 changes: 12 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
[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: <http://github.com/trentm/komodo-go>
![Example screenshot](https://github.com/Komodo/komodo-go/raw/master/example.png)

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.
yourself for now. We'll be including this in Komodo builds by default starting
from Komodo 9.

# Features

- File-type language detection for .go files
- Syntax highlighting (including folding)
- Syntax Checking (linting)
- Codeintel via [Gocode](https://github.com/nsf/gocode)
- Code Outline (for Code Browser and Sections List in IDE)
- Jump to definition via [godef](http://godoc.org/code.google.com/p/rog-go/exp/cmd/godef)

# Building

Expand All @@ -19,26 +27,3 @@ yourself for now. I plan to upload something soon.
- 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)

# Komodo dependencies

- Need the patched LexCPP.cxx lexer, which handles backquoted raw strings (this removed the need for Go to be a UDL-based language)
- Need the following patch to src/codeintel/src/komodo/koCodeIntel.py:
@@ -2143,6 +2142,9 @@
"python4ExtraPaths": T(),
"ruby": T(komodo_name="rubyDefaultInterpreter"),
"rubyExtraPaths": T(),
+ "golangDefaultLocation": T(),
+ "gocodeDefaultLocation": T(),
+ "godefDefaultLocation": T(),
}
# Set the result on the class, no need to recompute
setattr(self.__class__, "_prefs_allowed", result)

0 comments on commit 1646972

Please sign in to comment.