-
Notifications
You must be signed in to change notification settings - Fork 649
Frequent pop-up when saving with "Getting code actions: Go, Go, ..." #3179
Comments
@stamblerre I was seeing this dialog for a little bit, but now it's not popping up at all and I'm seeing this error in the logs:
I did delete the |
That's definitely possible - thanks for the report @hairyhenderson. I'll add a regression test for this case (golang/go#38407 (comment)). |
@stamblerre thanks! That's a super-helpful shortcut! I usually just |
It doesn't work for me. When I By the way, I got gopls error message:
I know I have syntax error in my code, that not the key, the key point is, the |
@Wisgon: If you add "go.languageServerFlags": [
"-rpc.trace"
] to your VS Code settings, it should give you more detailed information. However, if your project is very large / has a lot of dependencies, it's possible that something else is going wrong. |
Restarting the language server didn't do anything for me, but @onlyafly 's recommendation to downgrade the Go extension to 0.13.1 solved the issue completely Things I tried:
|
@bobheadxi: This error usually starts happening when there is some misconfiguration or issue with |
Going to close this issue, as I haven't heard of many people encountering this recently. |
If you encounter this issue, please try the following steps to troubleshoot:
gopls
to be slow. Capture yourgopls
logs and post them here (if you're able to share them). Detailedgopls
logs are best, so please add the-rpc.trace
togo.languageServerFlags
.For reference, this bug is referring to an error that appears like this:
![image](https://user-images.githubusercontent.com/5856771/79361744-b837eb00-7f13-11ea-8bae-9683b4b61afc.png)
This issue consolidates #3063, #3105, #3141, #3170, etc.
The text was updated successfully, but these errors were encountered: