- On the main menu, choose .
- Press Ctrl+Z; Alt+BackSpaceCtrl+Z; Alt+BackSpace.
- On the main menu, choose .
- Press Ctrl+Shift+Z; Alt+Shift+BackSpaceCtrl+Shift+Z; Alt+Shift+BackSpace.
Tip
PhpStorm 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, PhpStorm requests on your confirmation.

