Fork of zed-extensions/powershell
  • Rust 69.1%
  • Tree-sitter Query 30.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
zed-zippy[bot] ecde130155
Update CI workflows to 3183c04 (#20)
This PR updates the CI workflow files from the main Zed repository
based on the commit
zed-industries/zed@3183c04515

The update includes a new version of the extension CLI which adds
validation for semantic token rules for languages

Co-authored-by: zed-zippy[bot] <234243425+zed-zippy[bot]@users.noreply.github.com>
2026-03-25 18:56:33 +00:00
.github/workflows Update CI workflows to 3183c04 (#20) 2026-03-25 18:56:33 +00:00
languages/powershell Add outline (#11) 2026-03-11 23:19:25 +01:00
src Add support for language server settings and initialization options (#6) 2026-02-18 13:25:16 +00:00
.gitignore Make PowerShell grammar suport 2024-07-21 15:43:17 +07:00
Cargo.lock Bump version to 0.4.2 (#13) 2026-03-11 22:22:51 +00:00
Cargo.toml Bump version to 0.4.2 (#13) 2026-03-11 22:22:51 +00:00
extension.toml Bump version to 0.4.2 (#13) 2026-03-11 22:22:51 +00:00
LICENSE Initial commit 2024-07-21 15:43:00 +07:00
README.md Add support for language server settings and initialization options (#6) 2026-02-18 13:25:16 +00:00

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": "<path to PowerShellEditorServices>"
            }
        }
    }
}

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
            }
         }
      }
   }