rescript-vscode icon indicating copy to clipboard operation
rescript-vscode copied to clipboard

Integrate reanalyze into the LSP so more editors can benefit out-of-the-box

Open Josef-Thorne-A opened this issue 4 months ago • 5 comments

Similar issue to: https://github.com/rescript-lang/rescript-vscode/issues/1108

My understanding from reading forums is that currently the excellent reanalyze tool is not integrated into the lsp, but is a separate tool that can either be invoked directly by the vscode plugin or from the rescript-tools cli.

If this could be integrated into the LSP, users like myself who don't use vscode could directly benefit from these tools without having to use vscode. I personally use Emacs, but lsp seems to be the best way to ensure cross-editor compatibility.

I could also work on parsing the output of the cli tool in the emacs mode but this could be a little cumbersome/error prone.

Happy to look into this myself is someone points me in the right direction.

Josef-Thorne-A avatar Sep 01 '25 13:09 Josef-Thorne-A