bazel-contrib / vscode-bazel

Bazel support for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=BazelBuild.vscode-bazel
Apache License 2.0
244 stars 79 forks source link

Support really large repos better #162

Open thomasvl opened 4 years ago

thomasvl commented 4 years ago

This has come up in a few other issues, but addressing it seems to be non trivial. The main pain points:

joshburkart commented 4 years ago

Thanks for providing this! Unfortunately, I'm finding the extension nearly unusable with my team's repo, AFAICT, due to its automatic querying. I frequently have to wait for this when running bazel on the command line:

Another command (pid=....) is running.  Waiting for it to complete on the server...

What about just having a settings toggle for disabling populating the "Bazel Build Targets" pane?

thomasvl commented 4 years ago

https://github.com/bazelbuild/vscode-bazel/pull/138 already provides a setting. It just hasn't been included in a release.

joshburkart commented 4 years ago

Ah okay great. Thanks!

Edit: In case it's useful to anyone, as a temporary workaround, I set the bazel.executable setting to a bogus path.

vogelsgesang commented 7 months ago

Maybe, implementing support for *.bazelproject files might also help here. Not sure, I don't work on large monorepos myself