Open rbtcollins opened 1 month ago
I think you could try with toplevel
(and maybe tweaking targets
in the project view file). But the way it would be pretty cool if bazel had another setting - direct_deps
that would download toplevel targets and their direct deps
Yah - toplevel works. We have a wrapper program around bazel, and we're using that to detect intellij and inject ...=toplevel instead of our minimal default; this seems to be working nicely.
Description of the feature request:
We use --remote_download_outputs=minimal with remote build to avoid downloading large blobs unnecessarily. However intellij users found that project syncing left unresolved symbols until we disabled that, leaving
--remote_download_outputs
set to the default.I'm not familiar enough with the bazel internals here to suggest resolution, but supporting configurations with this flag would be great.
Which category does this issue belong to?
Intellij
What underlying problem are you trying to solve with this feature?
Allow developers using IntelliJ to do so without needing a custom bazelrc for them.
What operating system, Intellij IDE and programming languages are you using? Please provide specific versions.
Ubuntu 24.04, IntelliJ IDEA 2024.1.2, Kotlin
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response