vscode-ocaml | VS Code which provides support
kandi X-RAY | vscode-ocaml Summary
kandi X-RAY | vscode-ocaml Summary
An extension for VS Code which provides support for the OCaml language.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vscode-ocaml
vscode-ocaml Key Features
vscode-ocaml Examples and Code Snippets
Community Discussions
Trending Discussions on vscode-ocaml
QUESTION
There are several questions here on indenting code in visual studio code (How do you format code in Visual Studio Code (VSCode)?), and on indenting OCaml code (How to indent existing OCaml code), but none of the answers work for indenting OCaml code in visual studio code.
I have installed the OCaml Platform visual studio code extension, vscode-ocaml-format (following https://dev.realworldocaml.org/install.html), ocaml-lsp-server (following https://ocaml.org/learn/tutorials/up_and_running.html) using opam, updated and upgraded everything, used eval $(opam env)
, but this still does not work. I'm a bit at a loss...
ANSWER
Answered 2022-Jan-24 at 17:13It is very hard to answer such questions as we need more debugging input from your side. On the other hand, it is so hard to get it from vscode so it is better just to walk you through the whole process from the very beginning to see where things might go wrong. I would suggest you follow the process for ease of debugging. After you have everything working you can adapt it to your particular setup.
- Create a fresh new folder and put some OCaml file into it, let's name it
test.ml
and let's put into it the following code,
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vscode-ocaml
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page