1

VSCode can only report syntax errors/warnings after I save the file for Go. This behavior is different from other languages such as dart. Can I have real time errors/warnings in Go?

0

1 Answer 1

1

I found the solution.

Basically adding the following to user settings (settings.json):

"go.liveErrors": {
  "enabled": true,
  "delay": 500
}

VSCode will then ask you to install the gotype-live tool. You can also install manually if you want with the following command:

go get -v github.com/tylerb/gotype-live
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.