-
Notifications
You must be signed in to change notification settings - Fork 17.6k
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
x/tools/gopls: don't load invalid build configurations unless they contain Go code #43093
Comments
Can you please share your |
This is the log result when I type |
It looks like |
Hi @stamblerre Thanks for taking the time to investigate this. All the
The workspace was setup awhile ago using the |
It looks like
Are these modules / do they contain Go code? |
No those directories don't contain any Go code. |
It looks like |
That command returns Heres the full output
|
Change https://golang.org/cl/277114 mentions this issue: |
After some further investigation, it looks like we aren't actually processing these packages with no Go files. However, it may aid in investigation if you can try setting |
Unfortunately the issue remained after setting |
Glad to hear that the issue is resolved. I'll go ahead and close this then. |
Gopls is running very slowly in vscode when inside a workspace
What did you do?
Opened up a vscode workspace, waited for Go extension to initialise and started typing.
What did you expect to see?
code completion results opening quickly
What did you see instead?
The red squiggly line moves very slowly across the word and the code completion results come up after a few seconds
Build info
The text was updated successfully, but these errors were encountered: