-
Notifications
You must be signed in to change notification settings - Fork 297
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
Feature Request: Rust Support #675
Comments
@jin there seems to already be support for go, cpp, dart, javascript, python, scala, kotlin and java. What is the process for adding a new language? Barring scala which wix added support for, each of the existing languages are used internally within Google. I presume one concern is who would be on the hook for supporting the language support after the initial implementation |
Currently, we don't have bandwidth or domain expertise to support new languages like Rust, and there isn't a process to add a new language yet. It's possible to work on a fork of this project to add Rust support, but until the details are ironed out, we cannot support this yet. One of the things that's high on my list to do is to implement a pluggable framework so that rule owners / domain experts (e.g. rules_rust) can integrate with this plugin without having to extend the core IntelliJ plugin, similar to how Starlark has provided Bazel core with extensibility. |
Any updates on this? Will this be scoped out or prioritized in/for 2021? |
By the way, could someone link an example of a project that uses Bazel with Rust? |
https://github.com/bazelbuild/rules_rust/tree/master/examples has a couple of samples. |
Is forking this project still seen as the best way to getting Rust support added given the current state of the project? Would you accept a PR to add direct Rust support now? Or...
...is this completely blocked on implementing such a pluggable framework? |
I've opened a PR which integrates with the IntelliJ Rust plugin to deliver Rust support. It depends on I've uploaded an example project, and demo of the plugin's capabilities, at https://github.com/vaticle/bazel-intellij-rust-example bazel-intellij-rust-demo.movThe PR's architectures are suboptimal, looking for some insider knowledge to bring them to production grade! |
Thank you for contributing to the IntelliJ repository! This issue has been marked as stale since it has not had any activity in the last 6 months. It will be closed in the next 14 days unless any other activity occurs or one of the following labels is added: "not stale", "awaiting-maintainer". Please reach out to the triage team ( |
This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please reach out to the triage team ( |
I've been working on integrating a Rust project with a large multi-language repository, and we're successfully building Rust binaries via
rules_rust
andcargo raze
. However, we have not been able to get the projects working within CLion or Intellij IDEA, I think in part because the plugin does not yet support it.Is Rust support something that the Intellij plugin authors would be open to? I am happy to dedicate time to making this come to fruition, if it is desired. Roughly speaking, what would it take to get this working?
The text was updated successfully, but these errors were encountered: