The PowerShell language server and debug adapter for any editor
open sourceMITfree
PowerShell Editor Services is Microsoft's PowerShell module that gives editors PowerShell support over the Language Server Protocol and the Debug Adapter Protocol: completions, go to definition and find references, real-time analysis with PSScriptAnalyzer, debugging with breakpoints, variables and the call stack, an interactive Extension Terminal and the $psEditor API for scripting the editor. It runs on PowerShell 7 and later, with Windows PowerShell 5.1 on a best-effort basis. Microsoft's PowerShell extension for VS Code is built on it, and community plugins use it in Emacs, IntelliJ IDEs, Vim and Neovim.
Problems it solves
- get PowerShell autocomplete and go to definition in Neovim
- debug a PowerShell script from my editor
- lint PowerShell scripts as I type
Features
- PowerShell language server
- debug adapter
- PSScriptAnalyzer diagnostics
- Extension Terminal
- $psEditor API
Limitations
Alternatives
The same job
These do what PowerShell Editor Services does.
- Intelephense Code intelligence for productive PHP developers
- Java Language Server A Java language server built on the Java compiler API, for VS Code, Vim, Emacs, Kate and Sublime
