Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.63 KB

ide-setup.md

File metadata and controls

36 lines (24 loc) · 1.63 KB
description
Recommended IDE setup for developing on Umee in Go.

IDE Setup

Install Go and VSCode

First, install VSCode: https://code.visualstudio.com/download
Then, install Go: https://go.dev/doc/install

Add the following extensions to your VSCode:

  1. Go by Google
  2. VSCode Proto 3 by zxh404
  3. Git Lens by GitKraken
  4. Tabnine AI by Tabnine

Vscode configuration

Go to: VSCode -> Preferences -> settings -> Extensions -> Go

  • Set Go: Lint tool to golint. You can use staticcheck if you'd like, it can just take lots of computational resources.
    • If you'd like to use the same configuration as umee code, use golangci-lint .
    • You will likely be prompted to install the linter you choose, click the install button.
  • Set Go: Format tool to one of the following: goreturns or gofumports
    • You will likely be prompted to install the formatter you choose, click the install button.
  • Check Go: Test on Save

At this point, your environment should be ready to go!

License

This work is dual-licensed under Apache 2.0 and MIT. You can choose between one of them if you use this work.

SPDX-License-Identifier: Apache-2.0 OR MIT