- How to remove go installation on Mac?
- Go Language Server
- Configuring Visual Studio Code to use Go Language Server
- Changing user name and email in VSCode
How to remove go installation on Mac?
Before we update go, we will need to remove it from our system. To remove Go from Mac, issue the following command:
To uninstall, delete the
/usr/local/go directory by:
$ sudo rm -rf /usr/local/go
Go Language Server
Language server is a LSP protocol capable server that is created to support features like auto complete, go to definition, find all references etc into a IDE. Hence there isn’t a need for various IDE to develop the support independently.
Configuring Visual Studio Code to use Go Language Server
By invoking the command pallette and invoking Preferences:Configuring Language Specific Settings.
Changing user name and email in VSCode
Before we can commit changes and push the changes to GitHub, we need to configure the user.name and user.email for VSCode.
Execute the following command via the terminal.
git config --global user.name "goodfunlover" git config user.name
git config --global user.email "[email protected]"