-
Notifications
You must be signed in to change notification settings - Fork 18k
x/tools/gopls: timeout when lookup is used in kubernetes code base #38032
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
Comments
Thank you for filing a gopls issue! Please take a look at the Troubleshooting guide, and make sure that you have provided all of the relevant information here. |
What version of gopls are you using?
Can you detail what operations you are doing? Are you trying to complete or jump to definition, or something else? It would be good if you give the exact command/keypress and the exact location in the file so we can be sure we are doing the same thing. |
% gopls version For example try to lookup in line 288 config.NewPodConfigfunction definition with |
That works fine (instantly) for me. Is there anything in |
|
in * messages* I see:
|
Is there smoething at the bottom of Can you try |
After waiting some time without doing anything it shows the docs for the function and I can lookup very fast.
|
There is an expected delay on startup while gopls parses and type checks everything for the first time. |
via slack:
|
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
(lsp-response-timeout 60)
does not help, but it blocks the editor for 60s.What did you expect to see?
Lookup happening in some short time.
What did you see instead?
Timeout
The text was updated successfully, but these errors were encountered: