Skip to content

Instantly share code, notes, and snippets.

View chris-skud's full-sized avatar

Chris Skudlarczyk chris-skud

View GitHub Profile
@chris-skud
chris-skud / vscode_symbols.txt
Created September 17, 2018 18:53
fix vscode intellisense
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
@chris-skud
chris-skud / branch off feature branch
Last active February 3, 2022 21:41
Steps to manage a feature branch that has a dependency on another feature branch
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`