Stats
Actions
Tags
Help us improve
Share bugs, ideas, or general feedback.
npx claudepluginhub lisi31415926/claude-local-lsps --plugin custom-lspsThis LSP server requires C:\Program Files\PowerShell\7\pwsh.exeto be installed on your system. Make sure it's available in your PATH before enabling.
Copy this JSON into your .lsp.json to enable this server
Add to your .lsp.json or plugin.json:
{
"lspServers": {
"powershell": {
"command": "C:\\Program Files\\PowerShell\\7\\pwsh.exe",
"extensionToLanguage": {
".ps1": "powershell",
".psd1": "powershell",
".psm1": "powershell"
},
"args": [
"-NoLogo",
"-NoProfile",
"-NonInteractive",
"-ExecutionPolicy",
"Bypass",
"-Command",
"$m = Get-Module -ListAvailable PowerShellEditorServices 2>$null | Sort-Object Version -Descending | Select-Object -First 1; if (-not $m) { throw 'PowerShellEditorServices is not installed. Run: Install-Module -Name PowerShellEditorServices -Scope CurrentUser' }; Import-Module $m.Path 3>$null 4>$null 5>$null 6>$null; Start-EditorServices -HostName 'Claude Code' -HostProfileId 'ClaudeCode' -HostVersion '1.0.0' -Stdio -BundledModulesPath (Split-Path $m.Path) -LogPath 'C:\\Users\\LI\\.claude\\pses-cc.log' -LogLevel 'Normal'"
]
}
}
}File extensions mapped to language identifiers
Server configuration and transport parameters
C:\Program Files\PowerShell\7\pwsh.exestdioCommand-line arguments passed to the server process
Initialization options and workspace settings
Share bugs, ideas, or general feedback.