It is possible to refactor the SQL code in pgCodeKeeper. Objects within the SQL code can be renamed along with the links to them. To rename an object, select Rename in the SQL editor’s right-click menu or press Alt+Shift+R.


Quick fixes

pgCodeKeeper also allows you to quickly fix errors related to an invalid location of objects. To do that, hover over the error (in the file name) and select Rename file in the pop-up message or the SQL editor’s Quick Fix right-click menu. The object’s file will be moved to its expected location within the project.