-
Notifications
You must be signed in to change notification settings - Fork 406
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
Add bazel support #543
Comments
A quick look at https://github.com/bazelbuild/eclipse tells me we can't even embed that plugin into jdt.ls, since it depends on Eclipse UI. |
@fbricon I may be able to work on this, so, What needs to be done in order to add support for Bazel?
|
An interesting approach: https://gist.github.com/wolfgangmeyers/49d8edaa763f5fcdcdf7 |
Another reference script that can be used to better understand the schema of https://gerrit.googlesource.com/gerrit/+/refs/heads/master/tools/eclipse/project.py |
Are there any plans to implement this? |
@Stupremee Sorry but we're a very small team and have no immediate plans to work on this. Someone from the community needs to step up and help with providing that feature. @simon0191 sorry for the late reply. In order for this to work, you have 2 options:
|
Signed-off-by: Pavel Mitrafanau <[email protected]>
Closing this out since necessary API for JDT-LS has been implemented in #1404. Feel free to re-open if we've missed something. |
Note, the linked PR which closed this issue was not merged. Same with a subsequent attempt:
There is another open issue and a discussion: Does anyone know the state of this jdt.ls infrastructure work which was meant to enable the subsequent implementation of Bazel support? I know there are potential Bazel solutions with additional extensions for Eclipse and maybe VSCode, but I'm curious what would be required to implement Bazel support for jdt.ls running under Neovim or Zed. And whether it is possible to consider implementing support for Bazel directly in jdt.ls without requiring external helper daemons/processes. Thanks |
@notpeter maybe @guw can provide some pointers on how to use https://github.com/salesforce/bazel-eclipse alongside jdt.ls in vim or zed |
@fbricon I don't know if VIM or Zed have support for Java Extension to an extension like VS Code?
|
@guw These are exactly the links I needed.
The Zed Java Extension handles setting up Here's what I understand from those links: The When This was extremely helpful and might be enough for me to get this going in Zed: |
Bazel build tool (https://bazel.build) is a cross-language build platform allows to have fast and reliable builds.
It could be nice if java projects using
WORKSPACE
andBUILD
would be supported through jdt.ls or an extension.The text was updated successfully, but these errors were encountered: