bazel-contrib / bazel-contrib/vscode-bazel
FR: add git bash option to run t he "bazel query" command
- Dominant language
- TypeScript
- Stars
- 296
- Forks
- 108
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 5
Description
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.
Contributor guide
Research direction
Start by locating the extension entry point that runs the "bazel query" command to populate the "bazel build targets" window, then inspect how it selects the VS Code terminal on Windows. Done means users can choose Git Bash instead of PowerShell and the target list populates for Bazel targets that require Linux commands such as cat or grep.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, git, typescript, vscode
- Domain
- build-system, developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100