You can undo any changes that you made using the commands in the Refactor menu by following the steps below. When you undo a refactoring, the IDE rolls back all the changes in all the files that were affected by the refactoring.
To undo a refactoring command:
The IDE rolls back all the changes in all the files that were affected by the refactoring.