bazelbuild/vscode-bazel

FR: add git bash option to run t he "bazel query" command

gattytto opened this issue · 1 comments

hello, this is an amazing extension. Probably one of the top 5 best vscode extensions ever

some bazel targets are more advanced like github.com/googleapis/googleapis so some of them use linux commands that can be made available in windows through git bash (example cat, grep).

powershell is the default terminal in vscode and nothing good comes out of changing that default, so it would stop breaking google client api libs generation if we could choose git bash as the target terminal to run the bazel-query command to populate the "bazel build targets" window.

The workaround is to have a linux box where to connect using vscode so those commands are run by the extension host in the linux side. Not something everyone can afford to have.

What is it about this repo that requires bash? I thought genrules always run using bash, so it can't be that.