Image for post
Image for post
Photo by Jeff James on Unsplash

Disabling go modules in Visual Studio Code

I couldn’t find a good answer to this question and I looked for hours. Ultimately, I decided to document it here for the next time I need it and for anyone else out there who’s looking to disable go modules in in Visual Studio Code.

  1. Open up Settings (⌘,) and search for “go tools env vars”

2. Click “Edit in settings.json” and set GO111MODULE to off

I also disabled the go language server as it was burning a hole through my lap:

Well that’s all there was to it! I’m now able to use VSCode for all my editing needs.

Written by

Passionate about the environment and making the world a better place

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store