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 |
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
A--BC <-- master | |
\ | |
B--C <-- feature-1 | |
\ | |
D--E <-- feature-2 | |
after feature-1 merges into master, and whilst on feature-2 use: | |
`git fetch origin` | |
`git rebase --onto origin/master feature-1` |
OlderNewer