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 198 forks source link

Mix.TasksFormat.formatter_for_file can compile #990

Closed lukaszsamson closed 1 year ago

lukaszsamson commented 1 year ago

If formatter plugins are used the function will call loadpaths and possibly compile leading to unwanted protocol consolidation and race conditions. We need to prevent that without relying on build lock