-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Eclipse support #12
Comments
Ok I don't know if we ever going to ship the current Eclipse support but having an IDE support is definitely something high on our list |
I've sort of generalized this in #31 beyond eclipse. |
interested in this too |
@damienmg Do you already have working support for Eclipse internally which you can't share? Or is the quality of the Eclipse support code just too poor to open it? |
We have a Eclipse support internally that also include a lot of internal stuff such as integration with our control version system and it doesn't make much sense to open-source it (not that it is too poor, just not suited for outside Google). |
Eclipse (and IntelliJ) support can just mean being able to generate project files of the IDE via a command line. The IDEs typically listen for changes on their metadata, and then just magically update (at least Eclipse does). Gradle eclipse and idea plugins do it this way, for example. I don't think it's too much work, but then it is still a bit too much if one just wants to use bazel. |
No, why? |
I have something that might help. Not quite a general purpose solution (the script only supports java and python, requires some hacking to customize for different projects), but I think it should be easy enough to adapt it to your needs. Basically it involves building _deploy jars that roll up all of the compile-time dependencies using bazel and then constructing eclipse files that reference those jar files. I may do some work to make this general-purpose and put it on github, but for now here is the work in progress - https://gist.github.com/wolfgangmeyers/49d8edaa763f5fcdcdf7 |
As a former Googler (Eclipse/C++ user), I find it extremely painful using Bazel with a lack of Eclipse support :(. Even if the internal source control stuff can't/shouldn't be open sourced, dependency graph info and incremental build tools would be greatly appreciated! |
Sounds like an eclipse plugin might be a better general solution. Providing an "import from existing bazel workspace" feature could then generate the project files from within eclipse. |
As yet another ex-Googler on this thread, would love to see the Eclipse integration part open-sourced :) Also, if you have an idea how long this would take, it would be helpful to know. |
Awesome! |
This is no longer maintained and is now replaced by e4b: https://github.com/bazelbuild/e4b Fixes #12. -- MOS_MIGRATED_REVID=124545211
Patch support for overrides & git_override support
I'm hoping the Eclipse support can be open sourced :-) All the open-source build tools I currently use like Maven, Gradle, and SBT have Eclipse support built-in.
The text was updated successfully, but these errors were encountered: