PowerShell
PowerShell language support in Gram is provided by the community-maintained Gram PowerShell extension. Please report issues to: github.com/wingyplus/zed-powershell/issues
- Tree-sitter: airbus-cert/tree-sitter-powershell
- Language Server: PowerShell/PowerShellEditorServices
Setup
Install PowerShell 7+
- macOS:
brew install powershell/tap/powershell - Alpine: Installing PowerShell on Alpine Linux
- Debian: Install PowerShell on Debian Linux
- RedHat: Install PowerShell on RHEL
- Ubuntu: Install PowerShell on RHEL
- Windows: Install PowerShell on Windows
The Gram PowerShell extension will default to the pwsh executable found in your path.
Install PowerShell Editor Services (Optional)
The Gram PowerShell extensions will attempt to download PowerShell Editor Services automatically.
If want to use a specific binary, you can specify in your that in your Gram settings.json:
"lsp": {
"powershell-es": {
"binary": {
"path": "/path/to/PowerShellEditorServices"
}
}
}