Retaining comments when refactoring code

Peter Sommerlad, Guido Zgraggen, Thomas Corbat, Lukas Felber · 2008

Today's software developer depends on automated refactoring tools. While implementing such refactoring tools based on the Eclipse platform for a variety of languages, we faced the problem that carefully crafted formatting and comments can disappear when refactoring source code. This is annoying. Therefore, a useful refactoring tool should keep comments and move them along with the source code they belong to.

Read the paper · More papers on PaperTik