4 ms·
I was mainly interested in working with Nx and friends, which look pretty nice. Good to hear about your experience with that. The ElixirLS server always crashe
by mjhay 3y ago
I was mainly interested in working with Nx and friends, which look pretty nice. Good to hear about your experience with that.
The ElixirLS server always crashed for me on init. The problem is assuredly on my end, but I was never able to fix it.
https://elixirforum.com/t/elixirls-not-working-runtime-terminating-during-boot/56017 https://elixirforum.com/t/elixirls-not-working-runtime-termi...
- atonse 3y agoI just discovered elixir-tools which has an LSP and it works instantly, and seems to have a more robust architecture than ElixirLS. I used ElixirLS for a couple years now but it was the best option for a while, but elixir-tools (which I literally installed 30 mins ago) has been a delight to work with. The instant feedback actually feels like how it always should've been.
- karmajunkie 3y agoi tried it out but wasn’t really happy with it in emacs. ended up going back to elixir-ls until elixir-tools is a little further along.
- mhanberg 3y agoNext LS author here! I would love to hear about how your emacs experience went and what your setup/config is. My emacs skills are not the best (zero), so I've not been able to really work through any of the kinks. I have recently gotten it working tho with vanilla emacs with eglot, as well as doom emacs (again, with eglot). No pressure!
- karmajunkie 3y agohappy to provide feedback when i get a minute! i’m also utterly useless in elisp so not sure how useful it’ll be but ill try and make it helpful :)
- roblh 3y agoI had this problem too when I started, for me it was an incorrect Erlang version. Using asdf to install both of them fixed it for me completely, and was pretty much a good enough experience all around that I use it to manage Nodejs installs too now.
- freedomben 3y agoYes, protip: Use asdf to manage erlang and elixir versions. The only exception might be if you're on Fedora the packages tend to stay pretty new, but anywhere else (and even there if you need a specific version) asdf is a godsend. I use it to manage go, node, python, and ruby as well.
- freedomben 3y agoGetting set up a dev environment for me was painless, with ElixirLS being a big exception. For me the wrong version of erlang/OTP was causing crashes that weren't getting surfaced well. Fortunately I have enough Elixir experience that once I got the error message surfaced I was able to figure it out pretty readily, but yeah that experience can definitely be improved.
- thibaut_barrere 3y agoI am a long time Elixir user and I also find the VSCode experience a bit frustrating ; sometimes the completion did not work, for hard-to-tell reasons (I'm switching computers often). I have seen a couple of issues that have been worked-out. In particular, it's nice to have completion in ".exs" files!
- epiccoleman 3y agoOne thing that's been bugging me recently is completions in eex/heex template files. It seems like a tough problem to solve, since you need reasonable completion for html, heex syntax, and arguably also completion on things like schema fields for forms and then components that the project defines. But man, if I could have a smart editor for those templates I would be like... three times as productive on my little side projects.