![visual studio format code visual studio format code](https://1.bp.blogspot.com/-xETwYhGCYbg/YJRGTVVNQNI/AAAAAAAAEkU/tG9-pHR3ReUhNjTybdAYgYDnPV_mQeh4ACLcBGAsYHQ/s640/vs-code-extension-for-code-format.png)
#VISUAL STUDIO FORMAT CODE HOW TO#
Choose a PowerShell scripting environmentīefore diving into the details about how to get started with Visual Studio Code, it is worth mentioning why you might want to use Visual Studio Code beyond the obvious need for Linux or macOS support. Both projects have taken significant community contributions. The other project is vscode-powershell, which is a Visual Studio Code extension that integrates the PowerShell Editor Services. In this regard, PowerShell Editor Services is similar to OmniSharp, which provides C# language support to editors like Atom, Sublime, Vim, and Visual Studio Code. The PowerShell Editor Services project provides language and debug services for editors that want to support PowerShell script development beyond basic syntax colorization.
![visual studio format code visual studio format code](https://i.stack.imgur.com/jS12O.png)
To support cross-platform PowerShell script development, Microsoft started two new open-source projects. Did I mention that Visual Studio Code is also open source on GitHub? Detecting a trend here? To the surprise of many, Microsoft also open-sourced PowerShell.
![visual studio format code visual studio format code](https://mspoweruser.com/wp-content/uploads/2016/07/June_2016_tabs-e1467966154393.png)
And, indeed, nine months later, Microsoft made PowerShell available cross-platform, supporting Linux and macOS in addition to Windows. NET, this was an important prerequisite before taking PowerShell cross-platform. Since the PowerShell integrated scripting environment (ISE) shipped with Windows PowerShell 2.0 in 2009, the PowerShell landscape has changed significantly. Summary: Learn about the features in Visual Studio Code that help you write PowerShell code.