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 ⌃⌥⇧↓ or ⌃⌥⇧↓⌃⌥⇧↓ or ⌃⌥⇧↓⌃⌥⇧↓ or ⌃⌥⇧↓^ ⇧ ⌥ Down, ⌃⌥⇧↓ or ⌃⌥⇧↓^ ⇧ ⌥ Down, ⌃⌥⇧↓ or ⌃⌥⇧↓ or ⌃⌥⇧↑ or ⌃⌥⇧↑⌃⌥⇧↑ or ⌃⌥⇧↑⌃⌥⇧↑ or ⌃⌥⇧↑^ ⇧ ⌥ Up, ⌃⌥⇧↑ or ⌃⌥⇧↑^ ⇧ ⌥ Up, ⌃⌥⇧↑ or ⌃⌥⇧↑.
- Point to a change marker, and click the arrow up
or arrow down
buttons.
- Use keyboard shortcut ⇧⌘⌫ or ⇧⌘⌫⇧⌘⌫ or ⇧⌘⌫⌃Q or ⌃Q^ ⇧ F2, ⌃⇧F2 or ⌃⇧F2^ ⇧ Backspace, ⌃⇧⌫ or ⌃⇧⌫.