-
Notifications
You must be signed in to change notification settings - Fork 62
Option to Disable Merlin (important for Windows) #102
Comments
This relates to reasonml/reason#1190 |
you can try reasonml/reasonml.github.io#109 it mostly works for me out of the box, only 1 requirements you need to set this in vscode settings "reason.path.ocamlfind": "ocamlfind.cmd",
// The path to the `ocamlmerlin` binary.
// "reason.path.ocamlmerlin": "ocamlmerlin.cmd",
// The path to the `opam` binary.
"reason.path.opam": "opam.cmd",
// The path to the `rebuild` binary.
"reason.path.rebuild": "rebuild.cmd",
// The path to the `refmt` binary.
"reason.path.refmt": "refmt.cmd",
// The path to the `refmterr` binary.
"reason.path.refmterr": "refmterr.cmd",
// The path to the `rtop` binary.
"reason.path.rtop": "rtop.cmd", |
Did: npm install -g ocaml-on-windows But Merlin is still not working... Current VSCode configuration:
Current VSCode errors:
I find really weird/fishy this 'C:UsersUsernameAppDataRoaming' error. A path problem... But how to fix it? |
It seems that merlin isn't finding your project's path. Did you opened a file or a folder on vscode? If you opened a file, try opening your project's root folder. |
I have opened VSCode in the project folder exactly where '.merlin' file is. Any other idea? |
Oh, it's happening for me too. I get:
Something must have changed lately that is handling |
Also related ocaml/merlin#684 |
It is working now. I'll close this. Update: It only fixed somewhat. There is still a situation that it is broken. Considering the existence or not of Merlin file. And it's content. Depending on which environment the file was generated (Linux/Windows) it get's broken. |
@superherointj good news! What changed to make this work? do I need to upgrade merlin? |
Just updated VSCode extension to version 1.0.1. There was a patch this night. I already had 'ocaml-on-windows' installed. |
It seems the problem persists if Merlin file is present. |
Merlin windows support is broken.
Having an option to disable Merlin is desirable for:
Even if Merlin is sorted out it still makes sense having a way to disable it. Because:
Either Merlin works or it's necessary to allow disabling for scenarios it doesn't work.
The text was updated successfully, but these errors were encountered: