x/tools/gopls: gopls compiles after every newstart on large projects #53332
Labels
FrozenDueToAge
gopls/performance
Issues related to gopls performance (CPU, memory, etc).
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
gopls version
go env
What did you do?
Open folder https://github.com/diamondburned/gotk4-examples/tree/master/gtk4/treeview with VS Code (v1.68.0).
First time it takes a long time, while gopls is compiling -> ok.
But after each restart of vs code, gopls is compiling over minutes again.
pstree
:What did you expect to see?
I expected that gopls caches the build of the large package gotk4 (github.com/diamondburned/gotk4/pkg) somehow. Like
go build
does.What did you see instead?
After each start of vs code I have to wait a very long time to get code completion in vs code.
Editor and settings
VS Code (v1.68.0)
The text was updated successfully, but these errors were encountered: