Skip to content

Latest commit

 

History

History
64 lines (39 loc) · 2.5 KB

TECHNICAL-SETUP.md

File metadata and controls

64 lines (39 loc) · 2.5 KB

Setting Up Visual Studio Code

  1. Install Visual Studio Code.
  2. Click Extensions in the sidebar.
  3. Install this extension:
    • Go for VS Code The official Go extension for Visual Studio Code
  4. When prompted:
    • go get -v golang.org/x/tools/gopls
    • Select Install all for all packages

Be sure to set up Visual Studio Code for your environment.

Tip On MacOS, install code in $PATH to enable Launching Visual Studio Code from the command line. Open the Command Palette (Cmd+Shift+P) and type 'shell command'.

GitHub Integration

Click the GitHub icon in the sidebar for GitHub integration and follow the prompts.

Clone the repos you work in

Terminal Tips

Master your terminal to be happy.

iTerm2 Terminal Emulator

On macOS, install the iTerm2 OSS terminal emulator as a replacement for the default Terminal app. Installing iTerm2 as a replacement for Terminal provides an updated version of the Bash shell that supports useful features like programmable completion.

Using ZSH as Your Default Shell

The Z shell, also known as zsh, is a UNIX shell that is built on top of the macOS default Bourne shell.

  1. If you want to set your default shell to zsh, install and set up zsh as the default shell.

  2. Install these plugins:

  3. Edit your ~/.zshrc file to add the plugins to load on startup:

    plugins=(
      git
      zsh-autosuggestions
      zsh-syntax-highlighting
    )
  4. Log out and log back in to the terminal to use your new default zsh shell.

Install Go

This installation method removes existing Go installations, installs Go in /usr/local/go/bin/go, and sets the environment variables.

  1. Go to https://golang.org/dl.
  2. Download the binary release that is suitable for your system.
  3. Follow the installation instructions.

Note: We recommend not using brew to install Go.