I was using ReScript language server until ReScript plugin for vscode officially came out. But having been a user of intellij for long, I still think it is a good idea to have a plugin for intellij as well. (Haskell, Clojure, and ReasonML have supports for their own!) Any future plans? Will be happy to know if anything is under progress
Maybe @hgiraud could adjust the existing one (https://plugins.jetbrains.com/plugin/9440-reasonml) with a good effort to reward ratio. I only followed it in the beginning, so I merely know it’s a custom solution based on the compiled artifacts. Unfortunately I’m not sure how much work that would be
I expect Herve’s plugin to be a lot of work to maintain, since he’s chosen not to use the Reason language server, opting instead for a tighter integration with IntelliJ internals. But so far he’s been doing a pretty great job, I think.
Idea plugin support remains unchanged: it is to support ocaml, reason and rescript syntaxes.
Right now, in the latest release, you already have syntax highlighting - although not perfect since the parser is a duplicate of the reasonML one.
I refactored and simplified parsers in the main branch (Not published until plugin is made compatible with 2020.2 version). Since ReasonML and Rescript share the same AST of PsiElements, they will have the same functionalities.
Hi, version 0.92 is published: it’s compatible with 2020.2 IDE, and you get support for .res files with the same functionalities (completion, find usages, …) than with .re files - and same flaws.