Upsource 2017.2 Help

Keyboard shortcuts

Upsource provides a set of keyboard shortcuts to help use some of its features without touching the mouse. Most of these shortcuts streamline searching and navigating the code, replicating the usual IDE navigation experience as much as possible.

The following keyboard shortcuts have been implemented so far. Most of them work in Browse Code, File, and Side-by-side diff views unless specified otherwise.


Shortcut (Windows) Shortcut (Mac) Description
Ctrl+Shift+F Ctrl+Shift+F Open the Find dialog
Alt+F7 Alt+F7 Find usages
Ctrl+F7 Cmd+F7 Highlight usages in file
Ctrl+B or Ctrl+click Cmd+B or Cmd+click Go to declaration
Ctrl+Alt+B Cmd+Alt+B View hierarchy
Ctrl+Shift+Plus Cmd+Shift+Plus Fold all code blocks in view
Ctrl+Shift+Minus Cmd+Shift+Minus Unfold all code blocks in view
Ctrl+Shift+F Ctrl+Shift+F Text search
Ctrl+Alt+Shift+N Cmd+Alt+Shift+N Search in revision (puts focus in the Go to Symbol search field; works across all views that contain this field)
Alt+Right Alt+Right Go to next file
Alt+Left Alt+Left Go to previous file

Side-by-side diff

Shortcut (Windows) Shortcut (Mac) Description
Alt+Down Alt+Down Next change
Alt+Up Alt+Up Previous change
Alt+L Alt+L Link to code selection
Alt+F8 Alt+F8 View usages diff

Commenting and code review

Shortcut (Windows) Shortcut (Mac) Description
Ctrl+Enter Ctrl+Enter Submit the comment form
Alt+C Alt+C Comment on code selection
Alt+L Alt+L Link to code selection

To display this shortcut list from Upsource, focus away from a main view and any text fields, and press Shift /

Last modified: 1 December 2017