elixir-lsp / elixir-ls

A frontend-independent IDE "smartness" server for Elixir. Implements the "Language Server Protocol" standard and provides debugger support via the "Debug Adapter Protocol"
https://elixir-lsp.github.io/elixir-ls/
Apache License 2.0
1.5k stars 196 forks source link

The server stops working as soon as "&" you type. OTP26 #1039

Closed uhlikosaurus closed 11 months ago

uhlikosaurus commented 11 months ago

Windows 11 OTP26 VSCode with extension ElixirLS: Elixir support and debugger v0.17.10

When writing an anonymous function with the wildcard "&" the server stops working.

How to reproduce the problem:

def foo() do
    "foo"
    |> (&
  end

[Error - 8:14:09 AM] Stopping server failed Error: Stopping the server timed out at c:\Users\uhlik.vscode\extensions\jakebecker.elixir-ls-0.17.10\out\extension.js:89:9067

lukaszsamson commented 11 months ago

Duplicate of https://github.com/elixir-lsp/elixir-ls/issues/1023. Please downgrade to OTP 25 or wait for the fix in OTP 26.2

lukaszsamson commented 11 months ago

OTP 26.2.1 is out and with with fix for this issue