Track tasks and feature requests
Join 40 million developers who use GitHub issues to help identify, assign, and keep track of the features and bug fixes your projects need.
Sign up for free See pricing for teams and enterprisesgopls: Unable to build on vscode #35531
Comments
This comment has been minimized.
This comment has been minimized.
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. |
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
Thanks I'll move this bug to vscode-go. Are there any timeline when the
Raised bug on vscode-go |
This comment has been minimized.
This comment has been minimized.
There currently isn't any plan for this feature, but this is something we might be able to do via a CodeLens. Closing this issue for now, as it is not yet a planned feature, but we will likely investigate this in the future. |
What did you do?
I'm trying to build go source file using gopls on Microsoft vscode. Instead of executing
go build
on the specific file, it fails to execute the build command.note:
I'm using go version manager to maintain its different go runtimes.
Here is the code.
https://play.golang.com/p/HhCLwAZhaBk
What did you expect to see?
It should build a specific file.
What did you see instead?
It's not building the specific file.
Build info
Go info
settings on vscode