When I edit the go file with the editor after starting the server with go run ***. Go
, gocode-gomod
consumes a lot of CPU and the editor freezes & the PC crashes ...
Open the configuration file (setting.json
) and add the following code to cure it.
setting.json
{
"go.useLanguageServer": true,
}
Even so, it was still moving and it was just better ...
https://github.com/golang/vscode-go/issues/249#issuecomment-647902730
It seems that gocode-gomod
, which displays candidates for go
, is currently consuming a lot of memory, and is under maintenance and development has stopped.
So he asked me to use gopls
instead!
~~ Now you can concentrate on development with go ^^ ~~
Recommended Posts