Skip to content

Lexical windows support #22

@JensvandeWiel

Description

@JensvandeWiel

I've created an issue on the zed repo itself before, but it's more applicable there. That's why I'm posting it here:

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

On file open zed fails to start lexical, because it tries to use a .sh file on windows.

Environment

AMD Ryzen 5 5600X 6-Core Processor 3.70 GHz
32 GB
Windows 11 Enterprise 22H2

If applicable, add screenshots or screencasts of the incorrect state / behavior

Language server error: lexical

failed to spawn command. path: "C:\Users\jensvandewiel\AppData\Local\Zed\extensions\work\elixir\lexical-v0.7.1\lexical\bin\start_lexical.sh", working directory: "C:\Users\jensvandewiel\MyProjects\phoenix\first", args: []
-- stderr--

If applicable, attach your Zed.log file to this issue.

Zed.log
2024-12-17T14:15:57.3694351+01:00 [INFO] Initializing default prettier with plugins {}
2024-12-17T14:15:57.8303891+01:00 [INFO] starting language server process. binary path: "C:\\Users\\jensvandewiel\\AppData\\Local\\Zed\\extensions\\work\\elixir\\lexical-v0.7.1\\lexical\\bin\\start_lexical.sh", working directory: "C:\\Users\\jensvandewiel\\MyProjects\\phoenix\\first", args: []
2024-12-17T14:15:57.8313297+01:00 [ERROR] Failed to start language server "lexical": failed to spawn command. path: "C:\\Users\\jensvandewiel\\AppData\\Local\\Zed\\extensions\\work\\elixir\\lexical-v0.7.1\\lexical\\bin\\start_lexical.sh", working directory: "C:\\Users\\jensvandewiel\\MyProjects\\phoenix\\first", args: []
2024-12-17T14:15:57.8313918+01:00 [ERROR] server stderr: ""
2024-12-17T14:15:58.2678676+01:00 [INFO] starting language server process. binary path: "C:\\Users\\jensvandewiel\\AppData\\Local\\Zed\\extensions\\work\\elixir\\next-ls-v0.23.2\\next-ls", working directory: "C:\\Users\\jensvandewiel\\MyProjects\\phoenix\\first", args: ["--stdio"]
2024-12-17T14:15:58.760749+01:00 [INFO] Language server with id 0 sent unhandled notification window/logMessage:
{
  "type": 3,
  "message": "[fetchCompletions] request.response: [https://proxy.individual.githubcopilot.com/v1/engines/copilot-codex/completions] took 1205 ms"
}
2024-12-17T14:15:58.7657477+01:00 [INFO] Language server with id 0 sent unhandled notification window/logMessage:
{
  "type": 3,
  "message": "[streamChoices] solution 0 returned. finish reason: [stop]"
}
2024-12-17T14:15:58.7658203+01:00 [INFO] Language server with id 0 sent unhandled notification window/logMessage:
{
  "type": 3,
  "message": "[streamChoices] request done: headerRequestId: [76a62594-0e72-45ae-b54d-0dde9d384109] model deployment ID: [d084-20240926232642]"
}
2024-12-17T14:16:01.7411019+01:00 [INFO] Creating texture 0x13311888590 of size 1487x1024x1 and format R16Float, name 'atlas', handle 23

zed-industries/zed#22136
lexical-lsp/lexical#340 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions