Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow setting GOOS via the Go environment toggle in the UI #1281

Open
jtsylve opened this issue Mar 8, 2021 · 0 comments
Open

Allow setting GOOS via the Go environment toggle in the UI #1281

jtsylve opened this issue Mar 8, 2021 · 0 comments

Comments

@jtsylve
Copy link

jtsylve commented Mar 8, 2021

I really like the current feature of the plugin that lets me switch between Go versions by clicking the button on the bottom toolbar. There are times in which I am developing packages that target specific operating systems, and it would be nice to be able to quickly switch among the systems that I am targeting.

I can currently accomplish these by changing the workspace config and changing the GOOS environment variable in go.toolsEnvVars, but this is a bit tedious when switching back and forth.

Could you please add the ability to set the target OS via the GUI in a convenient way (similar to how I can switch between Go versions)?

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

4 participants