ocaml-lsp icon indicating copy to clipboard operation
ocaml-lsp copied to clipboard

Local code extraction outputs OCaml syntax even in Reason file

Open 7h3kk1d opened this issue 9 months ago • 0 comments

After selecting an expression in a Reason file and pressing the quick fix action in VS Code to Extract Local the outputted syntax is in OCaml syntax rather than Reason. Also the action seems to only be triggered from quick fixes and not the intentional refactor actions.

Excerpt from opam list:

lsp                         1.21.0       LSP protocol implementation in OCaml
ocaml-lsp-server            1.21.0       LSP Server for OCaml
ocaml                       5.2.1        The OCaml compiler (virtual package)
reason                      3.14.0       Reason: Syntax & Toolchain for OCaml

VSCode about:

Version: 1.96.2
Commit: fabdb6a30b49f79a7aba0f2ad9df9b399473380f
Date: 2024-12-19T10:22:47.216Z
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Linux x64 6.6.71

Please let me know if there's any additional information I can provide or ways to help.

https://github.com/user-attachments/assets/f410fc11-78c0-4b21-be90-5ba45949d7d4

7h3kk1d avatar Jan 16 '25 21:01 7h3kk1d