Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

bongnv/atom-ide-golang

Repository files navigation

ide-golang Atom package · Codacy Badge Build Status Greenkeeper badge

Go language support for Atom-IDE. Since ide-golang is till in early stage, if you happen to experience any problem, please don't hesitate to file an issue here.

ide-golang features Diagnostics with ide-golang

Features

  • Code Completion (using gocode)
  • Code Format (using goimports)
  • Diagnostics
  • Document outline (using go-outline)
  • Find references (using guru)
  • Go to definition (using guru)
  • Hover (using gogetdoc)
  • Lint check after saving (using golint)

Getting Started

First, make sure you have Atom 1.19+ installed. Install atom-ide-ui from "Install" in Atom's settings or run:

apm install atom-ide-ui

Then, install ide-golang from "Install" in Atom's settings or run:

apm install ide-golang

You probably need to install some golang tools:

go get -u golang.org/x/tools/cmd/goimports
go get -u github.com/nsf/gocode
go get -u github.com/zmb3/gogetdoc
go get -u golang.org/x/tools/cmd/guru
go get -u github.com/ramya-rao-a/go-outline
go get -u golang.org/x/lint/golint

TODO

  • Golint support
  • Configs for GOPATH & tools
  • CI
  • Unit tests
  • Compilation support

License

See LICENSE file