refactoring code editor