Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bazel dirs in bazel/maven project in intellij kill the project #89

Closed
ittaiz opened this issue May 16, 2017 · 2 comments
Closed

Bazel dirs in bazel/maven project in intellij kill the project #89

ittaiz opened this issue May 16, 2017 · 2 comments

Comments

@ittaiz
Copy link
Member

ittaiz commented May 16, 2017

Hi,
I'm not sure if the issue should be here but this is the lesser of evils I could find.
We have a project which we're migrating from maven to bazel and since people want some side-by-side time they're using the maven intellij integration (partially since the intellij support for scala is still under work) to work inside the IDE.
The problem is that IntelliJ takes a lot of time (stopped waiting after 15 minutes) to scan the files in bazel-out and the like. I'm pretty sure this doesn't happen when the project is opened as Bazel since I guess the plugin somehow configures intellij to ignore/not scan those folders.

If I'm correct I wanted to ask if the plugin could define those directories as ignored globally and not only for bazel projects. Of course one can decide this setting should be opt-in for the unlikely case where I have a bazel-out folder which I want scanned but in general this would help ease the migration from maven to bazel.

cc @steren

@brendandouglas
Copy link
Contributor

We have a pretty strict policy to wherever possible avoid impacting non-bazel projects, so I'm reluctant to do this by default.

I'd be open to an opt-in setting (especially if it's only applied to recognised bazel workspaces), but perhaps there's already a Maven-side workaround? (https://www.jetbrains.com/help/idea/2017.1/maven-ignored-files.html)

@ittaiz
Copy link
Member Author

ittaiz commented May 22, 2017

we currently resolve it by manually marking each directory as "excluded" in intellij.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants