Hacker News new | ask | show | jobs
by withinboredom 976 days ago
The banding on the background is incredibly annoying, but looks interesting. I was considering learning Elixir the last few weeks, and I'm still on the fence. Does anyone have any good tips on how to set up a decent dev environment (IDE/debugging/etc.)?
3 comments

VSCode + ElixirLS is usually enough for everything. ASDF is a useful tool to install desired Erlang/Elixir version. Don't think you need anything else
I actually use RTX instead of ASDF as it's significantly faster and doesn't rely on shims. But you should definitely use one of them.

[0] https://github.com/jdx/rtx

I have also switched to rtx, and even use it in the Next LS build pipeline as an easy way to install Elixir & OTP.

https://github.com/elixir-tools/next-ls/blob/main/.cirrus.ym...

Definitely use ASDF for managing it. I’ve started using it for Node too and I quite like it, even though I was pretty hesitant to start using yet another package manager.
Direnv is generally a good idea once your project reaches a certain level of complexity
Well sounds like you came to the right place!

You can get started easily by installing the elixir-tools.vscode extension for VSCode and be off to the races!

https://marketplace.visualstudio.com/items?itemName=elixir-t...