Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local code extraction outputs OCaml syntax even in Reason file #1448

Open
7h3kk1d opened this issue Jan 16, 2025 · 0 comments
Open

Local code extraction outputs OCaml syntax even in Reason file #1448

7h3kk1d opened this issue Jan 16, 2025 · 0 comments

Comments

@7h3kk1d
Copy link

7h3kk1d commented Jan 16, 2025

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.

Screencast.From.2025-01-16.16-32-17.webm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant