Created
September 17, 2018 18:53
-
-
Save chris-skud/692ba7cc0a4f0cdc36afe242ab3d0038 to your computer and use it in GitHub Desktop.
fix vscode intellisense
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Close all VS Code instances | |
Kill any running gocode process | |
Remove the gocode binary from your $GOPATH/bin and the corresponding code form $GOPATH/src/github.com/nsf/gocode or $GOPATH/src/github.com/mdempsky/gocode | |
If you added the go.toolsGopath setting, then use that instead of the $GOPATH above | |
Open VS Code, run Go: Install/Update Tools, select gocode to install it | |
Ensure that you haven't disabled the go.installDependenciesWhenBuilding setting | |
Ensure all dependencies are built by running Go: Build Current Package (It uses the go build -i so all dependencies will be built and installed) | |
Now try the completions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment