Skip to content

Instantly share code, notes, and snippets.

@temoto
Created August 2, 2019 14:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save temoto/8715c4ae947141487a79a3057aa95109 to your computer and use it in GitHub Desktop.
Save temoto/8715c4ae947141487a79a3057aa95109 to your computer and use it in GitHub Desktop.
Atom + Go with modules config for 2019-08

How to setup Atom for Go development with 1.11+ modules support

For projects outside GOPATH.

  • go get github.com/saibing/bingo why: ckaznocha/ide-go#42 Run which bingo and have full path in clipboard.
  • (Atom) install package go-plus for format/build/test-on-save It's great, but go-plus autocomplete doesn't work with modules. Settings, packages, go-plus, Autocomplete, set Scope blacklist *
  • (Atom) install package ide-go If it asks to install go-langserver, press "set custom path". Settings, packages, ide-go, Set Custom server path to full bingo path from first step.

go-plus#761 suggests stamblerre/gocode which I did not try.

Subscribe to these issues for news:

Have a nice day

Thanks for the great work of all people involved in making developer tools. Indirectly you are advancing our civilisation.

@bjarnemagnussen
Copy link

Thanks! That worked for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment