Refactoring Elixir code using Spacemacs or other IDEs

#1

Anyone have any tips or examples on refactoring Elixir code using Spacemacs, Intellij or other IDE’s?

Can the community post examples with how-tos or links to blogposts that show how to quickly refactor code please?

For example:

user_allex = some_function_to_name "allex ocean"

Here, to change the word allex ocean you can place a cursor anywhere in the word and hit ca" (change around ") and then just type the new text.

0 Likes

#12

Not sure if it’s what you’re after, and I haven’t seen it myself, but here’s an Elixir Sip on refactoring: http://elixirsips.com/episodes/116_wx_extris_part_3_refactoring.html

We also have a Spacemacs Wiki and General tips thread that may be of interest :slight_smile:

0 Likes