Undoing and Redoing Changes
On this page:
You can undo or redo your changes as many times as required. However, when you exit CLion, the undo history is lost.
CLion smartly defines the logical steps that can be undone and redone. The following events signal about the end of a logical step:
- Pressing Enter.
- Repositioning the mouse cursor.
- Using navigation keyboard shortcuts.
- Cutting or pasting.
- Pressing Tab.
CLion expands the undo and redo mechanism to complex operations, such as reformatting or refactoring source code, creating or deleting files. When you undo or redo a complex operation, CLion requests for your confirmation.