Complete DataGrip keyboard shortcuts and commands reference — 15 shortcuts across 1 category. Quick reference cheat sheet for Windows & Mac.
| Shortcut | Action | Description |
|---|---|---|
| Ctrl + Enter | Execute query | Execute current query. |
| Ctrl + Shift + Enter | Execute all | Execute entire script. |
| Ctrl + / | Toggle comment | Toggle line comment. |
| Ctrl + Shift + F | Find in path | Search across project. |
| Ctrl + Alt + L | Format code | Format SQL. |
| Shift + Shift | Search everywhere | Search files, tables, actions, and symbols at once. |
| Ctrl + Shift + A | Find action | Search any IDE action or setting by name. |
| Ctrl + E | Recent files | Open the recently used consoles and files popup. |
| Ctrl + D | Duplicate line | Duplicate the current line or selection in the editor. |
| Shift + F6 | Rename | Rename a table, column, or alias with references updated. |
| Ctrl + Q | Quick documentation | Show documentation for the object under the caret. |
| Alt + F7 | Find usages | Show where the table or column is referenced. |
| F4 | Edit data | Open the selected table in the data editor. |
| Ctrl + F5 | Refresh | Refresh the database schema information. |
| F2 | Next error | Jump to the next SQL error in the console. |
The most essential DataGrip shortcuts are: Ctrl + Enter (Execute query), Ctrl + Shift + Enter (Execute all), Ctrl + / (Toggle comment). These cover the most frequent actions and can significantly speed up your workflow.
DataGrip has 15 keyboard shortcuts across 1 category on shortcut-tools.com.
Simply press the key combination while DataGrip is focused. Most shortcuts work immediately. On Mac, replace Ctrl with Cmd and Alt with Option for most shortcuts.
The DataGrip shortcut for execute query is Ctrl + Enter. Execute current query.
DataGrip includes 15 Database shortcuts, including Ctrl + Enter (Execute query) and Ctrl + Shift + Enter (Execute all). See the full list in the Database section above.
Print the DataGrip cheat sheet and keep it next to your keyboard for the first week, then switch to active recall: open Shortcut Speedrun and practice DataGrip shortcuts against the clock until they're automatic.
Yes — use My Stack to combine DataGrip shortcuts with any other platform on this site into one printable reference, which is useful if your daily workflow spans several tools.
Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"