Skip to content

Komodo/komodo-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

33d75ce · Dec 3, 2019

History

86 Commits
Mar 24, 2017
Oct 12, 2017
Jan 27, 2015
Aug 30, 2017
Jul 23, 2010
Jul 23, 2010
Jul 6, 2017
Jul 6, 2017
Dec 23, 2011
Jan 27, 2015
Feb 25, 2013
Dec 3, 2019

Repository files navigation

Komodo extension to add support for the Go language.

Example screenshot

I haven't yet put up a build to the Komodo addons site so you'll have to build it 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
    • Code Outline (for Code Browser and Sections List in IDE)
    • Jump to definition via godef

Requirements

  • Install 'go' and 'gocode', ensure are on the PATH configured in your overall or project-specific Komodo settings
  • For code 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

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.