Datagrip Keyboard Shortcuts (for macOS) Toggle Database View: ⌘ + 1 Refresh Database: ⌘ + R Reformat Code: ⌥ + ⌘ + L Collapse All (Database Explorer): ⇧ + ⌘ + – Expand All (Database Explorer): ⇧ + ⌘ + + Links Predefined macOS keymap