Subscribe to our Erlang Factory newsletter to receive the latest updates and news

Huiqing Li
Inventor of Wrangler
The University of Kent

Huiqing Li got her PhD at Kent University in September 2006 and works as a post doc in the EU project ProTest to further develop the refactoring tool Wrangler.

Huiqing Li is Giving the Following Talks
DIY refactoring in Wrangler

Wrangler is an Erlang refactoring tool which provides a range of refactorings - including renaming, function extraction and generalisation - as well as facilities for clone detection and removal as well as improvement of the module structure of projects. Wrangler is integrated into emacs and Eclipse (via ErlIDE).

Up to now, you could only use the refactorings built into Wrangler, or dive deep into the internals to extend it. The latest version of Wrangler now provides a much easier way of defining and applying refactorings for yourself. All you need to do is implement them as a refactoring behaviour and they are accessible in emacs, and you can write descriptions of what the refactorings do using a combination of Erlang macros and templates that describe the particular changes to be made. You can also use the same facilities write new forms of  code inspection equally easily.

After describing the DIY facilities and giving an overview demo of Wrangler we'll show how to use this DIY refactoring API in practice.