VSCode uses a number of tools to do static code analysis and intellisense...
However, I haven't seen how to configure what build-tags should be enabled for those analysis?
e.g. I may have two files - one that is compiled // +build debug
and its compliment compiled // +build !debug
to enable some debug-only code and some production-time code or constants or so on...
but VSCode just flags all sorts of stuff as broken because it tries to analyze with both of these files present in the working namespace at once.
Surely there is a way to say "editor build tag" : [ "debug" ]
or similar, so that the static analysis and linting tools aren't throwing bogus warnings / problem lists.