4 ms·
I just use ViM and it’s fine for me. I’ve got autocomplete, syntax highlighting, and ripgrep for file searching. I think I can jump from a function to it’s defi
by codyb 7y ago
I just use ViM and it’s fine for me. I’ve got autocomplete, syntax highlighting, and ripgrep for file searching. I think I can jump from a function to it’s definition but I’d have to double check.
With Tmux I just keep another window open with a few terminals running my server and front end watchers.
Erlang is neat because with Cowboy and rusty/sync (I _think_ that’s the library) I get hot code reloading for server side issues. Then webpack and a simple bash script handle updates to front end assets and transferring the files to the directory Nginx is pointed to.
I try to keep my dev and production environments as close as possible to avoid unexpected surprises so I’ve used DnsMasq to set up local ssl certs.
All in all it’s one of the more pleasurable dev environments I’ve worked in. Not having to restart the server every time I make a change is a huge boon, and having my supervisors restart their children automatically on crashes is tremendous.
I’d go with whatever you’re most comfortable with for best results. Learning new environments often sucks and you may end up discouraged and spending more time learning new shortcuts and how to do X, Y, and Z unrelated to actual Erlang development which can be both discouraging and a time sink.