This package provides the following services:
This package consumes the following services:
ide-golang Atom package ·
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.
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
License
See LICENSE
file