You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apologies in advance, I'm a Go neophyte, so I both may have some terminology wrong here, and there may be an easy way to solve this that I'm unaware of.
If I use the Go: Build command, it runs go build -i ./..., which probably works fine when you want to install all of a package's dependencies and speed up the next build. However, in a cross-compilation context, this tries to install to an unwritable location. The usual thing is to run 'go build -v'.
I would try and remove the -i from go.build.workspace or go.build.package trigger, but the src/goBuild.ts code actually assumes it should always be present. I see no way to remove it other than forking the extension.
Because of this, my Go code has red package squiggles because of the permission denied error. I'd like for this stuff to work as intended, but -i is harshing on my fun! 😄
Apologies in advance, I'm a Go neophyte, so I both may have some terminology wrong here, and there may be an easy way to solve this that I'm unaware of.
If I use the Go: Build command, it runs go build -i ./..., which probably works fine when you want to install all of a package's dependencies and speed up the next build. However, in a cross-compilation context, this tries to install to an unwritable location. The usual thing is to run 'go build -v'.
I would try and remove the -i from go.build.workspace or go.build.package trigger, but the src/goBuild.ts code actually assumes it should always be present. I see no way to remove it other than forking the extension.
Because of this, my Go code has red package squiggles because of the permission denied error. I'd like for this stuff to work as intended, but -i is harshing on my fun! 😄