I am interested in working on an IntelliJ Platform plugin for Rust Analyzer. Are there any resources on which how I can start doing so? As in, are there any things that I have to do before implementing the plugin? (I have already created the project and is willing to work with you guys to get Rust Analyzer support on IntelliJ Platform because Rust Analyzer is amazing!)
https://github.com/gtache/intellij-lsp might be a starting point, although I don't know whether it would be a good starting point.
I have had a look at it - it currently uses RLS. And it is written in Scala - I plan to write it using Kotlin instead. I will have a look - also the fact that it has been stopped for a while due to the pandemic - it might be a good time for a Rust Analyzer plugin for the IntelliJ Platform. IntelliJ Rust is good enough for the most part IMO, but there are various things that Rust Analyzer can do but not IntelliJ Rust.
If I were solving this problem in the abstract, I'd build two things:
In terms of how to actually do this properly, https://github.com/JetBrains/intellij-plugins/tree/master/Dart (dart plugin) would be the right place to learn from
Thank you! I will have a look. :thumbs_up:
I will also probably branch off rust-analyzer for the addition for the Rust Analyzer IntelliJ Platform plugin. Thanks!
Solving this problem concretely in the most useful way is a tough exercise in system's design -- obviously, JetBrains at some point might or might not add first class LSP support to the platform.
With this in mind, to keep the work maximally useful in the long-run, I'd keep an eye at the following exit strategies: