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

Why are builds only triggered after save? #973

Closed yxshv closed 1 year ago

yxshv commented 1 year ago

Why isn't it triggered while i am writing my code, why would i have to save to see my errors and warnings?

lukaszsamson commented 1 year ago

How would you like to run mix compile on code that exists only in memory and is not written to the disk? We could add running Code.string_to_quoted on in memory code, this would provide some syntax related diagnostics but full compile is IMO not possible.

yxshv commented 1 year ago

oh ok