Introduction to Wrangler

Wrangler is an interactive refactoring tool for Erlang, integrated into both emacs and Eclipse. Wrangler’s refactorings cover structural changes such as function, variable and module renaming, function extraction and generalization. Wrangler recognizes macros in code, and can be used on a single file or across a whole project. Wrangler can also be used to locate and remove code clones, through a tool that locates and reports on similar code fragments, suggesting possible abstractions.