# FreeFEM extension for Visual Studio Code

**URL:** <https://community.freefem.org/t/freefem-extension-for-visual-studio-code/3363>\
**Category:** General Discussion\
**Created:** [June 28, 2024, 10:54am UTC](https://community.freefem.org/t/freefem-extension-for-visual-studio-code/3363 "2024-06-28T10:54:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phtournier](https://avatars.discourse-cdn.com/v4/letter/p/3da27b/32.png) [@phtournier](https://community.freefem.org/u/phtournier)\
**Post date:** [June 28, 2024, 10:54am UTC](https://community.freefem.org/t/freefem-extension-for-visual-studio-code/3363/1 "2024-06-28T10:54:49Z")

</div>

An update to the FreeFEM extension for the Visual Studio Code IDE ( VS Code) has dropped !

In addition to providing syntax highlighting for your FreeFEM scripts, it now allows you to run the currently open FreeFEM .edp file by launching FreeFEM (provided it is already installed on our system) either via the command palette, a key binding (`Ctrl/Cmd/Win+Shift+R` by default) or the editor menu:

 ![vscodebutton](https://canada1.discourse-cdn.com/flex030/uploads/freefem/original/2X/6/6a375f111775798ab4db08cd4da567e1644f57ab.png)  
Additionally, it parses the current file for command-line parameters and number of MPI processes that you can specify using `// PARAM` and `// NBPROC`, so you can easily run it in parallel too ! For example, using `-wg -ns` flags and 4 MPI processes:  
 ![vscodeparams](https://canada1.discourse-cdn.com/flex030/uploads/freefem/original/2X/7/7db6d572f353495d34ec1486506f27d7c84b9457.jpeg)  
Thanks to Pierre Marchand for the extension ! Install it now (look for the **vscode-FreeFEM** extension on the Marketplace) and make your life easier using FreeFEM ! Feel free to post any feedback you may have here.

---

<div class="post-metadata">

**Author:** ![phtournier](https://avatars.discourse-cdn.com/v4/letter/p/3da27b/32.png) [@phtournier](https://community.freefem.org/u/phtournier)\
**Post date:** [June 28, 2024, 10:55am UTC](https://community.freefem.org/t/freefem-extension-for-visual-studio-code/3363/2 "2024-06-28T10:55:59Z")

</div>


