4 ms·
> Suddenly and out of the blue, neither Elixir nor Rust LSP modes can find the root of a project (?!) I ran into this exact thing. The solution for me was to u
by marcinreal 4y ago
> Suddenly and out of the blue, neither Elixir nor Rust LSP modes can find the root of a project (?!)
I ran into this exact thing. The solution for me was to use eglot. I just wrote this article describing my config (might need an update soon because some things still needed additional tinkering):
https://www.bytedude.com/setting-up-rust-support-in-emacs/ https://www.bytedude.com/setting-up-rust-support-in-emacs/
> Apparently it doesn't occur to those people that doing full-time programming and tinkering with your editors in off-duty hours is not everyone's dream life.
> A good reasonable set of modern features and lack of friction out of the box are important. Emacs people don't value that. Pity. They lost a formerly passionate user.
Completely agree. I needed to setup a Rust environment in Emacs for work purposes and it was an awful experience, and even after all that I don't have a great Rust experience. Theoretically Emacs is the best editor, but in practice it takes hundreds of hours of configuration to get going and then you find out it's painfully slow. (To be fair though, I squeeze every drop of Elispy usefulness out of this program that I can.)
My Emacs is at a state where I'm pretty happy with it, and I limit my time trying to improve it more - but it is so hard for me to recommend it to anyone.
- pdimitar 4y agoThanks a lot for the link. I enjoyed reading your article and all linked GitHub issues. The `lsp-mode` maintainer showed himself as a bit offended and insecure and that definitely made me lose faith in his project, can't deny. I might try your setup or might not -- after all, we should not forget that the answer to "Emacs requires constant babysitting" can't be "well, now go do that extra babysitting", right? > Theoretically Emacs is the best editor, but in practice it takes hundreds of hours of configuration to get going and then you find out it's painfully slow. Yeah that sums it up for me. And they are taking pride of the fact that they are just starting to work on multithreaded engine... in 2022... {facepalms} I am still fairly primitive in NeoVim but I already like it more.