Project import unable to import Git-based project properly and manual enablement is always required for new projects
Description of the bug:
There is a misalignment with Bazel plugin and IJ platform when .ijwb baseDir for the project denying git enablement automatically.
There are no roots detected in this case
Even when we alter vcs.root.detector.ignore.pattern to not ignore .ijwb anymore, in case of .ijwb presence in .gitignore it is failing "test" for eligibility here
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Try to auto import any git-based project for Bazel.
Easy to reproduce when you importing project for the first time.
After setting vcs.root.detector.ignore.pattern to the value that not disqualifying .ijwb I was able to reproduce it for .ijwb specified in .gitignore but suspect that unless
Which Intellij IDE are you using? Please provide the specific version.
2023.2
What programming languages and tools are you using? Please provide specific versions.
No response
What Bazel plugin version are you using?
2023.08.01.0.1-api-version-232
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
Does this issue only happen on IntelliJ 2023.2 or is it reproducible in older versions?
I think this is not new and was like this before. We haven't tried this flow and I have some doubts that this has changed recently...