# PSA: vscode is great for Stan

**URL:** <https://discourse.mc-stan.org/t/psa-vscode-is-great-for-stan/25463>\
**Category:** Publicity\
**Created:** [November 28, 2021, 1:22pm UTC](https://discourse.mc-stan.org/t/psa-vscode-is-great-for-stan/25463 "2021-11-28T13:22:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![spinkney](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@spinkney](https://discourse.mc-stan.org/u/spinkney)\
**Post date:** [November 28, 2021, 1:22pm UTC](https://discourse.mc-stan.org/t/psa-vscode-is-great-for-stan/25463/1 "2021-11-28T13:22:13Z")

</div>

I’ve been using vscode now for a few months and I’ve been using Rstudio less and less. I can switch between R, C++, Python, and Julia easily with syntax highlighting for all. I can connect to an EC2 or remote server easily. @ivan-bocharov recently updated the vscode Stan highlighting so it correctly highlights `array[]` and other recent additions.

I’m giving it two thumbs up, Test it out for yourself and let me know what you think!

Example of Stan code:

 ![Screen Shot 2021-11-28 at 7.54.48 AM](https://canada1.discourse-cdn.com/flex030/uploads/mc_stan/original/2X/c/cd5ce80f0216920e04b5746f46fd9d1a1b078200.png)

---

<div class="post-metadata">

**Author:** ![ivan-bocharov](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/ivan-bocharov/32/10737_2.png) [@ivan-bocharov](https://discourse.mc-stan.org/u/ivan-bocharov)\
**Post date:** [November 28, 2021, 2:46pm UTC](https://discourse.mc-stan.org/t/psa-vscode-is-great-for-stan/25463/2 "2021-11-28T14:46:25Z")

</div>

I am glad to hear that you’ve been enjoying this extension. A lot of recent updates were possible because of generous contributions from @storopoli.

I am currently working on extending the extension’s functionality beyond syntax highlighting and snippets. I am starting with simple commands (e.g. compile/format current file, etc.) with plans to eventually make a full-fledged language server.

---

<div class="post-metadata">

**Author:** ![storopoli](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/storopoli/32/6455_2.png) [@storopoli](https://discourse.mc-stan.org/u/storopoli)\
**Post date:** [November 28, 2021, 3:14pm UTC](https://discourse.mc-stan.org/t/psa-vscode-is-great-for-stan/25463/3 "2021-11-28T15:14:26Z")

</div>

Full-fledged LS would be great. My contributions are small, since I don’t have a clue of JavaScript. The merit is all @ivan-bocharov’s. Let me know how I can help in the development.

---

<div class="post-metadata">

**Author:** ![spinkney](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@spinkney](https://discourse.mc-stan.org/u/spinkney)\
**Post date:** [November 28, 2021, 3:20pm UTC](https://discourse.mc-stan.org/t/psa-vscode-is-great-for-stan/25463/4 "2021-11-28T15:20:34Z")

</div>

FYI, if you’re like me and don’t know what a language server is, see [Language Server Extension Guide | Visual Studio Code Extension API](https://code.visualstudio.com/api/language-extensions/language-server-extension-guide)

---

<div class="post-metadata">

**Author:** ![rok\_cesnovar](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@rok\_cesnovar](https://discourse.mc-stan.org/u/rok_cesnovar)\
**Post date:** [November 28, 2021, 8:11pm UTC](https://discourse.mc-stan.org/t/psa-vscode-is-great-for-stan/25463/5 "2021-11-28T20:11:35Z")

</div>

Thank you for your work @ivan-bocharov!
