# \[ANN\] \[preview\] Visual Studio Code plugin for OCaml

**URL:** <https://discuss.ocaml.org/t/ann-preview-visual-studio-code-plugin-for-ocaml/5395>\
**Category:** Community\
**Tags:** announce\
**Created:** [March 28, 2020, 6:44pm UTC](https://discuss.ocaml.org/t/ann-preview-visual-studio-code-plugin-for-ocaml/5395 "2020-03-28T18:44:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rgrinberg](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/rgrinberg/32/40_2.png) [@rgrinberg](https://discuss.ocaml.org/u/rgrinberg)\
**Post date:** [March 28, 2020, 6:44pm UTC](https://discuss.ocaml.org/t/ann-preview-visual-studio-code-plugin-for-ocaml/5395/1 "2020-03-28T18:44:07Z")

</div>

Dear OCaml hackers,

I’m proud to announce a preview release of an [VSC extension for OCaml](https://github.com/ocamllabs/vscode-ocaml-platform). You can fetch and install this plugin directly from the extension marketplace if you search for “OCaml Labs”. The extension isn’t yet mature, but I believe that it offers a user experience comparable to other VSC extensions for OCaml already. The plugin should be used in conjunction with [ocaml-lsp](https://github.com/ocaml/ocaml-lsp)

The extension is for the OCaml “platform”, which means that its scope includes support for various tools used in OCaml development such as dune, opam.

Bug reports & contributions are welcome. Happy hacking.

---

<div class="post-metadata">

**Author:** ![Yaron\_Minsky](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/yaron_minsky/32/11_2.png) [@Yaron\_Minsky](https://discuss.ocaml.org/u/Yaron_Minsky)\
**Post date:** [March 28, 2020, 8:29pm UTC](https://discuss.ocaml.org/t/ann-preview-visual-studio-code-plugin-for-ocaml/5395/2 "2020-03-28T20:29:03Z")

</div>

Just wanted to mention that it’s a little odd that there’s a second “OCaml Platform” package for vs-code, from different sources:

[https://marketplace.visualstudio.com/items?itemName=ocamllabs.ocaml-platform](https://marketplace.visualstudio.com/items?itemName=ocamllabs.ocaml-platform)

[https://marketplace.visualstudio.com/items?itemName=rustykey.href-secret-extension](https://marketplace.visualstudio.com/items?itemName=rustykey.href-secret-extension)

Which one is the right one? The “RustyKey” one seems less likely to be right, but it’s a bit confusing.

y

---

<div class="post-metadata">

**Author:** ![rgrinberg](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/rgrinberg/32/40_2.png) [@rgrinberg](https://discuss.ocaml.org/u/rgrinberg)\
**Post date:** [March 28, 2020, 8:56pm UTC](https://discuss.ocaml.org/t/ann-preview-visual-studio-code-plugin-for-ocaml/5395/3 "2020-03-28T20:56:58Z")

</div>

> [@Yaron\_Minsky](#):
>
> Which one is the right one? The “RustyKey” one seems less likely to be right, but it’s a bit confusing.

“RustyKey” is the wrong plugin. I will contact the author of this plugin to address the confusion.

Thanks for pointing this out.

---

<div class="post-metadata">

**Author:** ![BikalGurung](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/bikalgurung/32/5105_2.png) [@BikalGurung](https://discuss.ocaml.org/u/BikalGurung)\
**Post date:** [March 30, 2020, 1:10pm UTC](https://discuss.ocaml.org/t/ann-preview-visual-studio-code-plugin-for-ocaml/5395/4 "2020-03-30T13:10:27Z")

</div>

I have been using this plugin for the last hour. No issues so far.

It is a bomb 💣. Very nice. Thank you. 💯

---

<div class="post-metadata">

**Author:** ![grayswandyr](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/grayswandyr/32/94_2.png) [@grayswandyr](https://discuss.ocaml.org/u/grayswandyr)\
**Post date:** [March 30, 2020, 1:41pm UTC](https://discuss.ocaml.org/t/ann-preview-visual-studio-code-plugin-for-ocaml/5395/5 "2020-03-30T13:41:17Z")

</div>

Nice! How does it compare with Darren Morrison’s “[Ocaml and Reason IDE](https://marketplace.visualstudio.com/items?itemName=freebroccolo.reasonml)” plugin (augmented with the “[Ocaml mll and mly](https://marketplace.visualstudio.com/items?itemName=mnxn.ocaml-mll-mly)” plugin to avoid scrambling Ocamllex and Menhir files), feature-wise?

---

<div class="post-metadata">

**Author:** ![kkirstein](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/kkirstein/32/1964_2.png) [@kkirstein](https://discuss.ocaml.org/u/kkirstein)\
**Post date:** [March 30, 2020, 8:05pm UTC](https://discuss.ocaml.org/t/ann-preview-visual-studio-code-plugin-for-ocaml/5395/6 "2020-03-30T20:05:17Z")

</div>

So cool, just tried it on my Win 10 machine:

1. open cygwin shell
2. opam pin & install ocaml-lsp-server
3. start vscode in cygwin shell, e.g., `code .`
4. install extension in vscode

You made my day! 😃
