Skip to content

PowerShell LSP can't be found #6

@robertsweetman

Description

@robertsweetman

Can't be started, MacOS sonoma 14.7.1, Zed 0.160.7

2024-11-08T10:30:10.503968Z [INFO] attempting to start language server "powershell-es", path: "/Users/robert.sweetman/Documents/GitHub/<redacted>", id: 19
2024-11-08T10:30:10.514065Z [INFO] starting language server process. binary path: "/Users/robert.sweetman/PowerShellEditorServices", working directory: "/Users/robert.sweetman/Documents/GitHub/<redacted>", args: []
2024-11-08T10:30:10.514646Z [ERROR] Failed to start language server "powershell-es": failed to spawn command. path: "/Users/robert.sweetman/PowerShellEditorServices", working directory: "/Users/robert.sweetman/Documents/GitHub/<redacted>", args: []
2024-11-08T10:30:10.514716Z [ERROR] server stderr: ""

settings.json

  "lsp": {
    "powershell-es": {
      "binary": {
        "path": "/Users/robert.sweetman/PowerShellEditorServices"
      }
    }
  },

I've downloaded PowerShellEditorServices and un-zipped it manually. It's not really clear to me what path to use since there's a whole bunch of folders under the top level one. I was following these instructions which seem fairly obvious but...

https://onprem.wtf/post/zed-pwsh/

Anything I can do to help let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions