fork of gpui
zed docs src languages powershell.md
1.9 kB · 40 lines
Markdown


title: PowerShell description: "Configure PowerShell language support in Zed, including language servers, formatting, and debugging." #

PowerShell #

PowerShell language support in Zed is provided by the community-maintained Zed PowerShell extension. Please report issues to: github.com/wingyplus/zed-powershell/issues

Setup #

Install PowerShell 7+ {#powershell-install} #

The Zed PowerShell extension will default to the pwsh executable found in your path.

Install PowerShell Editor Services (Optional) {#powershell-editor-services} #

The Zed PowerShell extension will attempt to download PowerShell Editor Services automatically.

If you want to use a specific binary, you can specify that in your Zed settings.json:

  "lsp": {
    "powershell-es": {
      "binary": {
        "path": "/path/to/PowerShellEditorServices"
      }
    }
  }