# F# code formatting with vscode

**URL:** <https://forums.fsharp.org/t/f-code-formatting-with-vscode/3925>\
**Category:** General\
**Created:** [November 23, 2024, 9:27am UTC](https://forums.fsharp.org/t/f-code-formatting-with-vscode/3925 "2024-11-23T09:27:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![devosalain](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.fsharp.org/devosalain/32/1186_2.png) [@devosalain](https://forums.fsharp.org/u/devosalain)\
**Post date:** [November 23, 2024, 9:27am UTC](https://forums.fsharp.org/t/f-code-formatting-with-vscode/3925/1 "2024-11-23T09:27:53Z")

</div>

For scala formatting with intellij-idea you just press ctrl-alt-shift-L.  
Currently i use from command line fantomas to do formatting in F#.  
Can i do formatting from within vscode ?

---

<div class="post-metadata">

**Author:** ![seantallen](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.fsharp.org/seantallen/32/1274_2.png) [@seantallen](https://forums.fsharp.org/u/seantallen)\
**Post date:** [December 4, 2024, 3:14pm UTC](https://forums.fsharp.org/t/f-code-formatting-with-vscode/3925/4 "2024-12-04T15:14:36Z")

</div>

Yes.

VS Code allows you to set up formatters.
