x/tools/gopls: go generate not working #41566
Comments
@daxzhuo: What is your |
@stamblerre gopls: v0.5.0 |
The logs should be found by navigating to View -> Output -> Tasks -> gopls (server)). You will also need to add |
[Trace - 11:33:34.654 AM] Sending request 'workspace/executeCommand - (18)'. |
It work with |
Thanks for sharing the logs. It doesn't look like there are any error messages logged or reported. Are you able to reproduce this issue in a public repository so that we can try to reproduce? /cc @findleyr |
I think I'm able to reproduce: it appears the generate command is not correctly handling its directory argument. I presume that's what's happening here. Fix incoming. |
Change https://golang.org/cl/256818 mentions this issue: |
What version of Go, VS Code & VS Code Go extension are you using?
go version
to get version of Gocode -v
orcode-insiders -v
to get version of VS Code or VS Code Insiders58bb7b2331731bf72587010e943852e13e6fd3cf
x64
go env
to get the go development environment detailsShare the Go related settings you have added/edited
Describe the bug
Click on go generate but nothing happen
Steps to reproduce the behavior:
Screenshots or recordings
The text was updated successfully, but these errors were encountered: