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
Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GOROOT=C:\Program Files\Go
set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64
set CGO_CFLAGS=-O2 -g
set CGO_CXXFLAGS=-O2 -g
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set GOGCCFLAGS=-m64 -fno-caret-diagnostics -Qunused-arguments -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=C:\Users\User\AppData\Local\Temp\go-build959162870=/tmp/go-build -gno-record-gcc-switches
What did you do?
having a .go and .mod file, and the content doesn't matter. open it with vscode. ( at this time "go to def" and "format" functions work normally)
using go vendor create the vendor folder. ( this requires you to have at least one 3rd party library imported )
also copying the content of the vendor folder to $gopath/src.
delete the 2 folders created by step 2 and step 3.
"go to def" and "format" respond very slowly it takes about minutes to format once.
What did you expect to see?
"go to def" and "format" work normally as always.
What did you see instead?
"go to def" and "format" respond very slowly or becomes unresponsive.
I didn't test which folder actually causes this issue, but I guess both of them can.
the reason for doing step 2 and 3 are for the repl tool yaegi to import 3rd party package to work, but it fails, maybe because of windows according to some comments from its github repo issues that it only tested on linux and not like to support windows.
another trivial issue in step 5 is that there's also a popup at right bottom corner says "saving .go something configuration". this popup also appeared sometimes before, but the configuration is empty if you click the goto setting url
The text was updated successfully, but these errors were encountered: