Skip to content

PowerShell/vscode-powershell

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d10e3c7 · Jan 25, 2024
Jan 3, 2024
Apr 14, 2023
Jan 20, 2024
Jan 25, 2024
Jan 20, 2024
Dec 6, 2022
Jun 24, 2022
Mar 13, 2023
Jan 25, 2024
Jan 24, 2024
Sep 8, 2020
Aug 10, 2023
Jan 15, 2022
Jul 17, 2023
Nov 28, 2018
Apr 12, 2023
Apr 7, 2023
Aug 9, 2021
Aug 9, 2023
Dec 12, 2023
Oct 19, 2022
Jan 10, 2024
Jan 3, 2018
Aug 11, 2020
Dec 16, 2023
Mar 16, 2022
Sep 15, 2023
Feb 8, 2016
Jun 24, 2022
Aug 15, 2023
Jan 24, 2024
Jan 25, 2024
May 4, 2023
Dec 12, 2023

Repository files navigation

PowerShell for Visual Studio Code

CI Tests Version Installs Join the chat on Discord

This extension provides rich PowerShell language support for Visual Studio Code (VS Code). Now you can write and debug PowerShell scripts using the excellent IDE-like interface that VS Code provides.

This repository, vscode-powershell, is the Language Server Protocol client for VS Code and PowerShellEditorServices is the server (also used by other editors, such as Emacs and Vim).

Available Features

Bundled with the extension is the PowerShell ISE theme. It is not activated by default, but after installing this extension either click Set Color Theme or use the theme picker and select PowerShell ISE.

Platform Support

The extension should work anywhere VS Code itself and PowerShell Core 7.2 or higher is supported. For Windows PowerShell, only version 5.1 is supported and only on a best-effort basis. PowerShell Core 6, 7.0, and 7.1 have reached end-of-support. We test the following configurations:

  • Windows Server 2022 with Windows PowerShell 5.1 and PowerShell Core 7.2
  • Windows Server 2019 with Windows PowerShell 5.1 and PowerShell Core 7.2
  • macOS 11 with PowerShell Core 7.2
  • Ubuntu 20.04 with PowerShell Core 7.2

Read the installation instructions to get more details on how to use the extension on these platforms.

For Windows PowerShell 5.1, .NET Framework 4.8 or higher is required.

Installing the Extension

The PowerShell extension can be installed from the Visual Studio Code Marketplace by clicking the Install Button. You can also install the PowerShell extension from within VS Code by opening the Extensions view with keyboard shortcut Ctrl+Shift+X, typing PowerShell, and selecting the extension.

We would encourage you to try the pre-release version whenever possible. When a Pre-Release is available, it can be installed from the marketplace using the Switch to Pre-Release Version button. You can switch back to the stable version of the extension by using the Switch to Release Version button that will appear. You can also downgrade to other versions of the extension using the arrow next to the Uninstall button and choosing Install Another Version.

Getting Help

Please our support document.

Contributing to the Code

Check out the development documentation for more details on how to contribute to this extension!

Security Note

For any security issues, please see here.

Maintainers

Current

Emeriti

License

This extension is licensed under the MIT License. Please see the third-party notices file for details on the third-party binaries that we include with releases of this project.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.