- Docker
- DotEnv
- file-icons (or similar alternative)
- GitLens (can get annoying, but worth having)
- Go (see below for more details)
- GraphQL
- Kubernetes
- LiveShare
- npm
- Vetur
- Vim
- vscode-pdf (only worth having if you're generating PDFs)
- Yaml
Golang is in a transition right now, starting with version 1.11 with the introduction of Golang Modules. Modules are a better approach to dependency management, yielding reproducable builds every time. During this state of flux, some custom components and configuration are necessary to get the best intellisense in VS Code. More details can be found here and here. Definitely click those links, as this guide is in supplement to them.
- Install the Go VS Code Extension
- Using
Ctrl+Shift+P
, run the "Go: Install/Update Tools" command, and check every tool except those that have a*-gomod
alternative (only "gocode" at the time of writing). - Using
Ctrl+Shift+P
, run "Developer: Reload Window" - From your home directory (not a directory with a
go.mod
file), rungo get -u golang.org/x/tools/cmd/gopls
. This installs thegopls
binary in your$GOPATH/bin
. - Add this config to your VS Code
settings.json
. This tells the VS Code Plugin to usegopls
instead of the older components. - Using
Ctrl+Shift+P
, run "Developer: Reload Window"