You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 and cargo 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?
Reacted by Arjan Topolovec, Doug Tangren, mjduijn, Sebastian Mandrean, Shikhar Bhushan, Joatin Granlund, Rinde van Lon, Ryan Brewster, Simon Adameit, taekahn and 13 more
@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.
Reacted by Franck Rasolo, petros , Simon Adameit and Jalal El Mansouri
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.
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...
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.
...is this completely blocked on implementing such a pluggable framework?
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 (@bazelbuild/triage) if you think this issue is still relevant or you are interested in getting the issue resolved.
This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please reach out to the triage team (@bazelbuild/triage). Thanks!
Activity
petroseskinder commentedon Jun 21, 2019
@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
jin commentedon Jun 21, 2019
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.
mattboardman commentedon Dec 15, 2020
Any updates on this? Will this be scoped out or prioritized in/for 2021?
vlad20012 commentedon Dec 15, 2020
By the way, could someone link an example of a project that uses Bazel with Rust?
jelmansouri commentedon Dec 17, 2020
https://github.com/bazelbuild/rules_rust/tree/master/examples has a couple of samples.
I can build a repo that mimics the common components used in internal monorepos using bazel if it might help.
And here you can find an example of crates where cargo raze was used to generate build files:
https://github.com/bazelbuild/rules_rust/tree/master/bindgen/raze/remote
briansmith commentedon Jul 2, 2021
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?
alexjpwalker commentedon Feb 1, 2022
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.mov
The PR's architectures are suboptimal, looking for some insider knowledge to bring them to production grade!
github-actions commentedon Mar 16, 2023
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 (
@bazelbuild/triage) if you think this issue is still relevant or you are interested in getting the issue resolved.github-actions commentedon Mar 31, 2023
This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please reach out to the triage team (
@bazelbuild/triage). Thanks!