-
Notifications
You must be signed in to change notification settings - Fork 769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autocomplete is slow #292
Comments
Thanks for filing this issue, and sorry that you seem to have hit some problems. The gopls troubleshooting guide has some very useful instructions for how to gather data for reporting a problem, including how to gather logs: https://github.com/golang/tools/blob/master/gopls/doc/troubleshooting.md Could you take a look at that troubleshooting guide and follow the steps outlined there? |
Hi, sorry, but I don't know what gopls is and as I understood this is a program for logging Golang issues. However, my problem is connected not to the language itself, but to the extension, provided by Google Team in VSCode Marketplace. I just don't know where can I open such thread for VSCode extension, so I opened it here. |
Hi @MetaMmodern, sorry, I probably jumped ahead. In terms of what is gopls, here is a summary from the Language Server section of the VS Code Go Extension README:
One question would be whether or not you are using Go Modules? Backing up, it likely would help if you could also provide the information requested for example in #281 (comment), especially the additional version and setting questions listed there. |
Hi, @thepudds |
Since this is the vscode go extension issue, I am transferring this issue to its own repo. If you find |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
I'm not the issue submitter, but I'm noticing some heavy autocompletion delays since adding Go Modules to my project. Prior to that, everything was super fast and snappy. Is this a known problem? Edit: Just found out my VS Code actually wasn't using gopls, despite me thinking it was.. enabling it in the settings made it a lot faster. 👍 |
Great, i'm not using go and go extensions anymore but i'm glad that you found a solution. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Idk.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Just install the add-on and try using autocomplete.
What did you expect to see?
No lags.
What did you see instead?
Freezes and lags)

Here on the screenshot you can see, that the add-on doesn't give fast response and shows "Loading...". During such behaviour whole system starts to lag and work slowly until some info about autocomplete is shown. It is very uncomfortable when you try using fast autocomplete and arrows to choose the function(structure/type/etc) you need. While writing code on html/js/css there is no such behaviour.
The text was updated successfully, but these errors were encountered: