> > As vscode-go is now curated by the Go team [ > https://blog.golang.org/vscode-go] > I think you should raise issue at https://github.com/golang/vscode-go. > Your project layout (original one) seems good and straightforward, and the > need > for having per-folder environment settings or build-tags is real. > It shouldn't be the IDE that dictates Go project structure, IMO. >
I agree about wanting project structure independent of IDE. I'm not so sure if this is something vscode-go can reasonably be expected to solve, though. If I'm understanding correctly, vscode-go would need to parse each file for build-tags and pass that information to the go tool chain, presumably as environment variables. That sounds doable for standard tags that map to supported values for GOOS, GOARCH, etc., but I wonder what problems would be caused by non-standard tags, e.g. "+build mage" for magefiles. Cheers, Mike *“I want you to act as if the house was on fire. Because it is.” — Greta Thunberg* On Sun, Feb 14, 2021 at 11:32 AM Wojciech S. Czarnecki <o...@fairbe.org> wrote: > Dnia 2021-02-14, o godz. 10:54:02 > Michael Ellis <michael.f.el...@gmail.com> napisał(a): > > > I wrote a detailed answer on StackOverflow > > Thank you. > > As vscode-go is now curated by the Go team [ > https://blog.golang.org/vscode-go] > I think you should raise issue at https://github.com/golang/vscode-go. > Your project layout (original one) seems good and straightforward, and the > need > for having per-folder environment settings or build-tags is real. > It shouldn't be the IDE that dictates Go project structure, IMO. > > TC, > > -- > Wojciech S. Czarnecki > << ^oo^ >> OHIR-RIPE > > -- > You received this message because you are subscribed to a topic in the > Google Groups "golang-nuts" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/golang-nuts/2vI1CA76HPI/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/20210214173156.1a9edbfa%40xmint > . > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAK6kDbZ8E7py6hX_8Bp7Z-gixoZg6MNeJzZy00Vr0y4zoBhyow%40mail.gmail.com.