You need to install the vscode-go extension after changing the go binary to point to the GAE version.
- Symlink the
goappbinary
> cd $PATH_TO_GAE_SDK/go_appengine/goroot/bin
> ln -s goapp go- Install
vscode-goextension - Ensure
gocodeis on your$PATH, normally located in$GOPATH/bin - Close
gocode
> gocode close- Set the
gocodelib-pathproperty
> gocode set "lib-path" "$PATH_TO_GAE_SDK/go_appengine/goroot/pkg/darwin_amd64_appengine"Now if you run VSCode, it will start the gocode daemon and should autocomplete APIs from the GAE SDK:
After completing the above steps: