Skip to content

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

New issue

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

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

Already on GitHub? Sign in to your account

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)?

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

No branches or pull requests

4 participants