zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
41.34k stars 2.17k forks source link

Elixir Formatting failed: failed to format via language server #10230

Open shahryarjb opened 3 months ago

shahryarjb commented 3 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

I get this error Elixir Formatting failed: failed to format via language server and it tells me Click to see log.

After getting this error, all Elixir auto Formatting, or showing errors are going to be disabled, and I am forced to close whole zed app and open it.

Zed 0.129.2

Environment

I do not know how can use this: copy system specs into clipboard

but I am using intel mac os V 14.3.1 Zed 0.129.2

Erlang/OTP 26 [erts-14.2.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1]

Elixir 1.16.2 (compiled with Erlang/OTP 2

If applicable, add mockups / screenshots to help explain present your vision of the feature

Screenshot 2024-04-06 at 1 56 12 in the afternoon

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

Gist of my zed log: https://gist.github.com/shahryarjb/b77bba9e73ff3206abbbc0cf16977c31

shahryarjb commented 2 months ago

After new update of Zed still I have this error, it is very annoying 😭, because I should close whole editor and re-open again

Screenshot 2024-05-09 at 8 13 04 in the evening