![]() ![]() In other words, do not launch VS Code like a normal application. $ /cygdrive/c/Users/Frank\ Smith/AppData/Local/Programs/Microsoft\ VS\ Code/Code.exe But on Windows, the bottom of the OCaml "up and running" instructions contain this key information: On Windows, we must launch Visual Studio Code from within the Cygwin window, rather than by clicking on its icon (otherwise, the language server will not be found): On Mac, Linux, and WSL, you should be able to open VS Code however you want and have the OCaml Extension work correctly with the utop REPL, etc. Opening VS Code - Crucial Information for Windows Users You may want to use your OS's package manager to install opam, but you can also directly install the binary distribution. Note: For MacOS, you need to have Xcode command line developer tools installed. Linux, MacOS, and Windows Subsystem for Linux (WSL) įollow the instructions on opam's official installation page. This is no problem, but you will need to keep track of "which is which" and open a terminal for the cygwin you just created here for the instructions that follow and whenever opening vscode. If you already had cygwin installed, you now have a second one installed. If you get a virus-scan failure on the graphical-installer download, try "save link as" from an incognito browser window.Īfter installation completes (it takes a while), open the cygwin shell created in the previous step, called something like cygwin64 Terminal, and proceed to step 2. The 64-bit graphical installer is probably what you want. ![]() Follow the instructions from the OCaml for Windows project's page on installing opam on Windows. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |