VS Code with Go, the quick fix always give "no code actions available". No matter what's the error or warning, no fix is given.
Is this my config/environment problem or is it a vscode bug/expected? Any help will be highly appreciated!
I have the same problem when using the mouse to select a quick fix.
Instead of using the mouse use hot key, it works on win10:
I had the same problem but with C# project and the Omnisharp extension (C# v1.24.0).
VsCode didn't resolve the namespaces, but instead showed the "No code actions available". After some time I stumbled across this GitHub issue https://github.com/OmniSharp/omnisharp-vscode/issues/5029.
After changing the Omnisharp settings via extension settings menu and setting the value
"omnisharp.path": "latest",
I restarted my Omnisharp extension and it finally started giving me proper quick fixes.
I have restarted the VS Code and the problem has gone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With