-
Notifications
You must be signed in to change notification settings - Fork 128
FAQ
When you upgrade the version of go
that you are using, you may also need to update gocode
and re-create the gocode
binary. Run gocode close && go get -u github.com/mdempsky/gocode
and then resume typing in Atom.
This is automatically run as part of the golang:update-tools
command, which you can invoke via the command pallete, the Packages > go-plus
menu, or keyboard shortcut (ctrl + alt + shift + g u).
go-plus
will also try to detect this scenario and offer to close and update gocode
for you. If this does not resolve the problem, you should look for open issues at https://github.com/mdempsky/gocode/issues, and optionally open a new issue if none of the open issues match your scenario.
Prior to filing an issue, please ensure you are running the latest version of the tools. You can do this by doing one of the following things:
- Running the
golang:update-tools
command via the command palette - Using the
Packages > Go > Update Tools
menu command - Using the keybinding for
golang:update-tools
(currently ctrl + alt + shift + g u) - Manually installing / go getting all required tools (they can be found by looking at the contents of
const goTools = new Map(...)
in https://github.com/joefitzgerald/go-plus/blob/master/lib/package-manager.js