10 ms·
Expert: LSP for Elixir
- vittore 1y agoInteresting choice to use just
- mtndew4brkfst 1y agoIt 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.
- MangoToupe 1y agoI think it's hard for me to name better software than make. TeX, maybe? that seems like an insanely high bar to clear.
- mtndew4brkfst 1y agoI would say there's an ocean of software with better UX than those two, so it all comes down to what axis you measure on.
- zamalek 1y agoIt'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 1y agoIMO 'just' replaces make where make shouldn't be used - generic task runner.
- nesarkvechnep 1y agoCorrect. Make should be used with the filesystem, minimising PHONY.
- keeganpoppen 1y agoi'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...
- lemonberry 1y agoFor those not sure what just is: Website: https://just.systems https://just.systems Previous HN discussion: https://news.ycombinator.com/item?id=42351101 https://news.ycombinator.com/item?id=42351101
- sorentwo 1y agoThe 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/architecture.md https://github.com/elixir-lang/expert/blob/main/pages/archit...
- nesarkvechnep 1y agoWhat are namespaces in Elixir?
- jorams 1y agoNamespaces aren't so much a concept in Elixir, but this refers to the names used for things like modules. Expert will rewrite the code of its "engine" so that the engine's code and dependencies and those of the application it is embedded into don't overlap.
- prophesi 1y agoThere 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-language-server-team/ https://elixir-lang.org/blog/2024/08/15/welcome-elixir-langu...
- stanmancan 1y agoYup
- abrookewood 1y agoYes, that's correct. Pretty exciting.
- epiccoleman 1y agoOh 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!
- ashton314 1y agoOo 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.
- mtndew4brkfst 1y agoNit: there has never been an official LSP implementation until now, only community-authored. Even now no Dashbit employees or language core members are directly involved in this project in an ongoing basis. IMO that contributes powerfully to the quality of the experiences of using any of the options.
- nivertech 1y agoNo MCP support?
- 0x696C6961 1y agoWouldn't it make more sense to have a single MCP -> LSP adapter rather than having each LSP implement it?
- nivertech 1y agoMakes sense, except: 1. too many layers and worse DX 2. harder realtime updates
- buzzerbetrayed 1y agoHave you tried Todewave? By far the best DX I’ve seen
- shawa_a_a 1y agoFor BEAM MCP you probably want to look at TideWave, which runs _in your application_ to give the LLM context and an execution environment. https://hexdocs.pm/tidewave/mcp.html https://hexdocs.pm/tidewave/mcp.html
- gonglexin 1y agoI’ve been switching between different LSP implementations for Elixir—ElixirLS, Lexical, next-ls—and have been following Expert for a while. Really looking forward to trying it out! That said, the only thing that feels a bit off to me is the name “Expert.” It comes across slightly arrogant or presumptuous—like it’s implying it’s the only “expert” in the room. Maybe something more neutral would’ve been better? Still, excited to see what the official tooling brings!
- SwiftyBug 1y agoHow about "Fairly Knowledgeable, Always Humbly Ready to Learn from Others"? FKAHRLO for short.
- heeton 1y agoNailed it
- lionkor 1y agoIt's not an AI tool. It's an LSP. It is the expert in the room, because it's not a random word generator, not smart, it just follows the rules that the language has.
- atonse 1y agoI found the name to be perfect. Just a little fun. It also goes with the ex-prefix you see in libs sometimes.
- phinnaeus 1y agoHow did you find out about it in the first place? I remember seeing the Elixir blog post announcing the LSP project ages ago and then nothing since then.
- buzzerbetrayed 1y agoDo you frequent elixirforum.com? That’s where the elixir community resides. Jose and Chris post frequently there. As well as maintainers of popular libraries.
- NeutralForest 1y agoCool to see there's a long term plan for the language and the ecosystem!
- st3fan 1y agoWhat does "official" mean? Is it an official elixir-language project? I don't see Jose Valim as one the contributors.
- deleted 1y ago[deleted]
- andyleclair 1y agoYes, it is, as you can see by being under the `elixir-lang` github org
- DrBenCarson 1y ago“Official” means built by the creators of Elixir itself Elixir has more contributors than just Jose (though he is the OG / creator / leader)
- mtndew4brkfst 1y agoAs with my comment in another tree, no, none of the Elixir core team or Dashbit employees are directly involved with this effort, though they may be advising informally and will likely submit a PR here and there. https://dashbit.co/#team https://dashbit.co/#team https://elixir-lang.org/development.html#team https://elixir-lang.org/development.html#team https://github.com/elixir-lang/expert/graphs/contributors https://github.com/elixir-lang/expert/graphs/contributors
- st3fan 1y agoI'm a bit surprised by that. Isn't an LSP for a language like Elixir a close integration with the runtime, compiler, etc?
- mtndew4brkfst 1y agoIn an ideal world, yes, my belief is that that produces the best results.
- 1y ago
- atonse 1y agoExcited to see this after the blog post a year ago – I didn't realize they were working out in the open, because I was wondering how that project was going. Any news on when we can start to use it in our editors?
- Jtsummers 1y ago> Any news on when we can start to use it in our editors? https://github.com/elixir-lang/expert/blob/main/pages/installation.md https://github.com/elixir-lang/expert/blob/main/pages/instal...
- atonse 1y agoI followed the zed instructions and now I don't get any output anywhere. Almost as if it just stopped working.
- Jtsummers 1y agoI've been using it on Zed since they added support (changed changed my LSP for Elixir to be expert, it autoloaded it). It's been a bit unstable so I'm not surprised you're not seeing anything, you can check the status of running LSPs and restart them manually. I've had to do that too often to like working with it so I plan to switch back and wait a few more weeks to try it again.
- benjreinhart 1y agoWoo super excited for this. Is anyone working on the official vscode extension so we don't have to build and hook that up ourselves, or is that up for grabs still?