Thanks for sharing this! Picking up on that configuration, I found this
piece of documentation about gopls [1]. I followed these steps:
- Check out github.com/golang/go to /Users/frm/src/go.
- Build the language distribution as described here [2].
- Create a new VSCode workspace at /User
The way I do it in VS Code is to do something like this from the repo root:
# Get the dev version of Go into PATH for the editor and local dev work
$ export PATH=$PWD/bin:$PATH
# Build a baseline version of go and save it to restore if things break, or
for comparison
$ (cd src; GOGC=off ./make.ba