← All extensions

PowerShell

v0.4.3 · by Thanabodee Charoenpiriyakij · added 3 November 2026

PowerShell support

LanguagesLanguage servers

How to install

With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.

You can also open the Extensions panel in the app and search for PowerShell. The extension's id is powershell.

Don't have Forge Super yet? Download it here.

README

From the extension's repository, written by its authors and not by Mentenaz. See the source.

PowerShell support for Zed

This extension provides syntax highlighting as well as language server support for PowerShell files

Configuring your language server

The extension requires PowerShell to be available in your environment. If that is the case, the extension will auto-download the language server and start it.

If you wish to specify a custom path to your language server, you can do so via your settings:

{
    "lsp": {
		"powershell-es": {
			"binary": {
				"path": "pwsh.exe",
				"arguments": [
					"-NoLogo",
					"-NoProfile",
					"-Command",
					"path\\to\\PowerShellEditorServices\\Start-EditorServices.ps1",
					"-Stdio",
					"-SessionDetailsPath",
					"path\\to\\PowerShellEditorServices\\powershell-es.session.json",
				],
			},
		},
    }
}

Additionally, you can configure settings for your language server as well as initialization options to pass to the language server on start.

An example for this:

"lsp":{
   "powershell-es":{
      "settings":{
         "powershell":{
            "codeFormatting":{
               "openBraceOnSameLine":true,
               "addWhitespaceAroundPipe":true,
               "trimWhitespaceAroundPipe":true,
               "ignoreOneLineBlock":true
            }
         }
      }
   }