From powershell-editor-services
PowerShellEditorServices provides LSP code intelligence for PowerShell — diagnostics, go-to-definition, find references, hover information, and symbol listing for .ps1, .psd1, .psm1 files.
npx claudepluginhub piebald-ai/claude-code-lsps --plugin powershell-editor-servicesThis LSP server requires pwshto be installed on your system. Make sure it's available in your PATH before enabling.
Add to your .lsp.json or plugin.json:
{
"lspServers": {
"powershell": {
"command": "pwsh",
"extensionToLanguage": {
".ps1": "powershell",
".psd1": "powershell",
".psm1": "powershell"
},
"args": [
"-NoLogo",
"-NoProfile",
"-Command",
"$module = Get-Module -ListAvailable PowerShellEditorServices | Sort-Object Version -Descending | Select-Object -First 1; if (-not $module) { throw 'PowerShellEditorServices is not installed. Run: Install-Module -Name PowerShellEditorServices -Scope CurrentUser' }; Import-Module $module.Path; Start-EditorServices -HostName 'Claude Code' -HostProfileId 'ClaudeCode' -HostVersion '1.0.0' -Stdio -BundledModulesPath (Split-Path $module.Path) -LogPath '/dev/null' -LogLevel 'None' -EnableConsoleRepl"
]
}
}
}pwshstdioInitialization Options:
{}Settings:
{}