DataGrip Keyboard Shortcuts

Complete DataGrip keyboard shortcuts and commands reference — 15 shortcuts across 1 category. Quick reference cheat sheet for Windows & Mac.

Database (15)

ShortcutActionDescription
Ctrl + EnterExecute queryExecute current query.
Ctrl + Shift + EnterExecute allExecute entire script.
Ctrl + /Toggle commentToggle line comment.
Ctrl + Shift + FFind in pathSearch across project.
Ctrl + Alt + LFormat codeFormat SQL.
Shift + ShiftSearch everywhereSearch files, tables, actions, and symbols at once.
Ctrl + Shift + AFind actionSearch any IDE action or setting by name.
Ctrl + ERecent filesOpen the recently used consoles and files popup.
Ctrl + DDuplicate lineDuplicate the current line or selection in the editor.
Shift + F6RenameRename a table, column, or alias with references updated.
Ctrl + QQuick documentationShow documentation for the object under the caret.
Alt + F7Find usagesShow where the table or column is referenced.
F4Edit dataOpen the selected table in the data editor.
Ctrl + F5RefreshRefresh the database schema information.
F2Next errorJump to the next SQL error in the console.
📄 View Printable Cheat Sheet — Download as PDF or print · 🧩 Combine with other tools

Frequently Asked Questions

What are the most useful DataGrip keyboard shortcuts?

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.

How many keyboard shortcuts does DataGrip have?

DataGrip has 15 keyboard shortcuts across 1 category on shortcut-tools.com.

How do I use keyboard shortcuts in DataGrip?

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.

What is the DataGrip shortcut for execute query?

The DataGrip shortcut for execute query is Ctrl + Enter. Execute current query.

What Database shortcuts does DataGrip have?

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.

What's the fastest way to learn all DataGrip shortcuts?

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.

Can I combine DataGrip shortcuts with other tools?

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.

Related Shortcut Pages

VS Code Jupyter Notebook PyCharm Xcode Neovim / Vim WebStorm

Search 13,500+ shortcuts across 269 platforms

Explore All Platforms Practice Shortcuts
🔧 Spotted an error or a missing shortcut? Suggest an edit on GitHub — every accepted fix goes live on this page, the API and the CLI.

🤖 Ask AI about DataGrip shortcuts

Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"

ChatGPT Claude Perplexity Gemini Grok