School of Computing

Let's Make Refactoring Tools User-extensible!

Huiqing Li and Simon Thompson

In Peter Sommerlad, editor, The Fifth ACM Workshop on Refactoring Tools, pages 32-39, June 2012 [doi].


We present a framework for making a refactoring tool extensible, allowing users to define refactorings from scratch using the concrete syntax of the language, as well as to describe complex refactorings in a domain-specific language for scripting. We demonstrate the approach in practice through a series of examples.

The extension framework is built into Wrangler, a tool for refactoring Erlang programs, but we argue that the approach is equally applicable to tools for other languages.

Download publication 186 kbytes (PDF)

Bibtex Record

author = {Huiqing Li and Simon Thompson},
title = {Let's {M}ake {R}efactoring {T}ools {U}ser-extensible!},
month = {June},
year = {2012},
pages = {32-39},
keywords = {Refactoring, API, DSL, Wrangler},
note = {},
doi = {10.1145/2328876.2328881},
url = {},
    publication_type = {inproceedings},
    submission_id = {26927_1339054469},
    ISBN = {978-1-4503-1500-5},
    booktitle = {The Fifth ACM Workshop on Refactoring Tools},
    editor = {Peter Sommerlad},
    refereed = {yes},
    externalurl = {Available from ACM Digital Library},

School of Computing, University of Kent, Canterbury, Kent, CT2 7NF

Enquiries: +44 (0)1227 824180 or contact us.

Last Updated: 21/03/2014