PowerShell Editor Services is a PowerShell module that provides common functionality needed to enable a consistent and robust PowerShell development experience in almost any editor or integrated development environment (IDE).
The functionality in PowerShell Editor Services is already available in the following editor extensions:
- The VSCode PowerShell extension, also available in Azure Data Studio
- coc-powershell, a vim/neovim PowerShell plugin
- The IntelliJ PowerShell plugin
- lsp-powershell, an Emacs PowerShell plugin
- The Language Service provides common editor features for the PowerShell language:
- Code navigation actions (find references, go to definition)
- Statement completions (IntelliSense)
- Real-time semantic analysis of scripts using PowerShell Script Analyzer
- The Debugging Service simplifies interaction with the PowerShell debugger (breakpoints, variables, call stack, etc)
- The $psEditor API enables scripting of the host editor
- A full, terminal-based Integrated Console experience for interactive development and debugging
Install PowerShell 6+ with these instructions.
git clone https://github.com/PowerShell/PowerShellEditorServices.git
4. Install Invoke-Build
Install-Module InvokeBuild -Scope CurrentUser
Now you're ready to build the code. You can do so in one of two ways:
PS C:\path\to\PowerShellEditorServices> Invoke-Build Build
Open the PowerShellEditorServices folder that you cloned locally and press Ctrl+Shift+B (or Cmd+Shift+B on macOS).
We would love to incorporate community contributions into this project. If you would like to contribute code, documentation, tests, or bug reports, please read our Contribution Guide to learn more.
- Keith Hill - @r_keith_hill
- Patrick Meinecke - @SeeminglyScienc
- Tyler Leonhardt - @TylerLeonhardt
- Rob Holt - no twitter
This project is licensed under the MIT License.
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.