Expert: LSP for Elixir

(github.com)

127 points | by pimienta 10 hours ago ago

12 comments

  • prophesi 8 hours ago ago

    There are several different LSP implementations of Elixir, each with their own pros and cons. Last year they all agreed to collaborate on an LSP; is this going to be the result of that?

    https://elixir-lang.org/blog/2024/08/15/welcome-elixir-langu...

  • sorentwo 9 hours ago ago

    The architecture is remarkable. The lengths they’ve gone to for language version compatibility, and protecting app namespaces is especially impressive.

    https://github.com/elixir-lang/expert/blob/main/pages/archit...

  • ashton314 5 hours ago ago

    Oo I’m excited for this. The old official language server is fine—it does its job on most of the code bases I’ve worked on, but occasionally I will do something funny that makes the compiler slow down and that pummels the LS performance. I hope this works out some of the kinks that occasionally would make elixir-ls slow.

  • epiccoleman 6 hours ago ago

    Oh I'm excited for this. Editor support for elixir has never been quite as good as I'd like. I'm really happy to see they're investing in this - no lang with as consistently great a developer experience as elixir should be without a proper, official, well supported lang server.

    Can't wait to try it out!

  • vittore 9 hours ago ago

    Interesting choice to use just

    • mtndew4brkfst 9 hours ago ago

      It has both a justfile and a makefile at the root, even. Most of us seem to want to use it to throw make away entirely.

      That said, I consider `just` very language-agnostic and useful because of that, and I consider mix pretty bad at any workflow needs that isn't directly concerned with BEAM.

      • zamalek 8 hours ago ago

        It's not technically a make replacement (make does do things like incremental build management etc.), but it just goes to show how bad the DX of make is.

        • 0x457 7 hours ago ago

          IMO 'just' replaces make where make shouldn't be used - generic task runner.

      • MangoToupe 8 hours ago ago

        I think it's hard for me to name better software than make. TeX, maybe? that seems like an insanely high bar to clear.

    • keeganpoppen 9 hours ago ago

      i'm a pretty big fan of just, personally, but do not consider that to be the world's most well-considered position by any means...