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+B |
Cmd+B |
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+Alt+Shift+N |
Cmd+Alt+Shift+N |
Search in revision (puts focus the Go to Symbol search field; works across all views that contain this field) |
Ctrl+Enter |
Ctrl+Enter |
Submit the comment form |
Alt+C |
Alt+C |
Comment on code selection |
Alt+L |
Alt+L |
Link to code selection |
Esc |
Esc |
Сlose an active popup/dropdown menu |
To display this shortcut list from Upsource, focus away from a main view and any text fields, and press Shift+/