-
Notifications
You must be signed in to change notification settings - Fork 646
go.buildTags only works properly with a single tag #1355
Comments
* Support multiple build tags #1355 * fix tests * verbose test * fix failing test
@mfpierre I have pushed a fix for this, can you help in testing it out? All you have to do is
Do try out features like And thanks for reporting this. |
@ramya-rao-a thanks for the fix, however I'm not able to install the provided extension
|
You must be on ubuntu where for some reason direct download doesnt work. |
@ramya-rao-a I'm on OSX but the install from the cloned repo worked, from what I've tested so far seems to be fixed 👍 |
great, did you try other features like rename, find all references etc? The Go tools that back these features also take the build tags. Also give the new commands |
The fix is out in the latest update to the Go extension (0.6.69) |
Issue
I've been experiencing issues with the
go.buildTags
setting. It seems to work fine only when you have a single tag.When using multiple tags (space-separated) the tools are not working properly anymore on tagged files (as if no tags were applied).
How to reproduce
with
"go.buildTags": "randomtag"
reporting the error correctlyundefined: foobar
with
"go.buildTags": "randomtag othertag"
->build constraints exclude all Go files
The text was updated successfully, but these errors were encountered: