hackwaly / vscode-ocaml

An extension for VS Code which provides support for the OCaml language.
MIT License
170 stars 26 forks source link

Incorrect OCaml REPL path on macOS #83

Closed wqfan closed 7 years ago

wqfan commented 7 years ago

Hi, some functionalities don't work in expectation after upgrading the vscode-ocaml. On macOS 10.12.3, the vscode now cannot launch the OCaml interpreter using OCaml: New REPL Session.

Error shown as: The terminal process command `ocaml.exe` failed to launch (exit code: 1)

It seems the vscode-ocaml makes an incorrect platform detection. Overwriting ocaml.replPath.windows to a correct utop path could temporarily fix the problem.

Thanks.