vscode-tinygo icon indicating copy to clipboard operation
vscode-tinygo copied to clipboard

GOROOT or something is incorrect when opening terminal

Open sago35 opened this issue 3 years ago • 2 comments

After using TinyGo extension, GOROOT or something is incorrect when opening terminal.

image

Probably due to the environment variables set below. https://github.com/tinygo-org/vscode-tinygo/blob/96d460ad5e3b8480e85c5bd6a8b9e9061e338972/src/extension.ts#L96-L99

sago35 avatar Nov 16 '22 15:11 sago35

This is intentional. Why is this a problem?

aykevl avatar Nov 16 '22 23:11 aykevl

In my case, for example, I write udp server and usbcdc apps in go. And these applications are often managed along with microcontroller-side sources written in tinygo.

In such a case, I would want to build from the vscode terminal.

In other cases, when writing wasm, we often set up the server with go.

sago35 avatar Nov 17 '22 03:11 sago35