[Feature Request] Add depend targets of listed targets in project view
Currently, we have two ways to add targets with intellij plugin:
- Specificly list the targets
- Enable
drive_targets_from_directories
Neither way suites our project very well. Our project targets multiple platforms including iOS, Android and PC. When import the project in Android Studio many target are not needed.
Our project is relatively large so it's not convinent to list all wanted targets in project view.
It's also a little cumbersome to tag all targets we don't need in Android Studio.
What we want is to list the "root" target like a android_binary target in project view. Then have a config like add_depend_targets enabled in project view. Then all the depend targets of the android_binary will be imported. We use this pattern in other bazel related tools in our project and seems work prety well.
Is this a suitable feature for bazel intellij plugin?
Thanks.