Hi there,
Our team works on adding Bazel support for Eclipse JDT LS. During our research we discovered the following related
issue: https://github.com/eclipse/eclipse.jdt.ls/issues/543.
At the moment we finished our PoC (Eclipse plugin) which successfully does the following to provide rich development
experience:
You may see the code in the following repo:
https://github.com/salesforce/bazel-eclipse-ls/tree/master/com.salesforce.b2eclipse.jdt.ls.
Apart from the above we forked the Eclipse JDT LS repo and made required changes to integrate with the plugin:
https://github.com/PMitrafanau/eclipse.jdt.ls/commit/69edfbaf1b4c6b7bb806a41ff5fa2fd2cf99f330
Also there is a simple plugin (for testing purposes, based on LSP4E) which connects to Language Server:
https://github.com/salesforce/bazel-eclipse-ls/tree/master/com.salesforce.b2eclipse.ui
It’s worth emphasizing that it was PoC, so can be considered as an experimental feature with limited functionality.
Nevertheless development is active and there will be constant progress in adding new features and fixing existing problems. We think right now is a good moment to integrate our changes into the upstream Eclipse JDT LS repo and let interested people know that
there is ongoing work. This may speed up the development process by involving more users and contributors.
It's also noteworthy that main development still occurs in aforementioned Salesforce's repos and will not burden
your team.
We consider to start with Bazel feature disabled by default and importer itself has to have the lowest priority.
Please let us know if you are interested and whether we may proceed with the corresponding PR.
Thanks,