description |
---|
Recommended IDE setup for developing on Umee in Go. |
First, install VSCode: https://code.visualstudio.com/download
Then, install Go: https://go.dev/doc/install
Add the following extensions to your VSCode:
Go to: VSCode -> Preferences -> settings -> Extensions -> Go
- Set
Go: Lint tool
togolint
. You can usestaticcheck
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.
- If you'd like to use the same configuration as umee code, use
- Set
Go: Format tool
to one of the following:goreturns
orgofumports
- 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!
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