If you edit a file that is under version control, IntelliJ IDEA provides several ways to move back and forth with the updates. In particular, you can use the navigation commands, keyboard shortcuts, and the change markers.
- On the main menu, choose .
- Use keyboard shortcuts ⌃⌥⇧↓⌃⌥⇧↓⌃⌥⇧↓^ ⇧ ⌥ Down^ ⇧ ⌥ Down or ⌃⌥⇧↑⌃⌥⇧↑⌃⌥⇧↑^ ⇧ ⌥ Up^ ⇧ ⌥ Up.
- Point to a change marker, and click the arrow up
or arrow down
buttons.
- On the main menu, choose
- Use keyboard shortcut ⇧⌘⌫⇧⌘⌫⌃Q^ ⇧ F2^ ⇧ Backspace.