Skip to main content
SQL Developer — help/keyboard-shortcuts.md
50+ shortcuts · Win + Mac

SQL Developer Keyboard Shortcuts

Work faster with these essential keyboard shortcuts. From running queries to formatting code, these hotkeys will boost your productivity.

~/shortcuts.spec cheat sheet

# Cheat sheet

platforms = Windows · macOS

count = 50+ shortcuts

customizable = yes # see Pro Tips section

location = Tools → Preferences → Shortcut Keys

# Most-used

run_statement = Ctrl+Enter # single query

run_script = F5 # whole worksheet

format_sql = Ctrl+F7 # beautify

describe = Shift+F4 # table info popup

// full tables below — query · editing · navigation · files

Query Execution

Run and manage your SQL queries.

ActionWindowsMac
Run Statement (current query)Ctrl + EnterCmd + Enter
Run Script (all queries)F5F5
Execute Explain PlanF10F10
Cancel QueryCtrl + BreakCmd + .
CommitF11F11
RollbackF12F12

Code Editing

Format, complete, and edit your SQL.

ActionWindowsMac
Format SQL (beautify)Ctrl + F7Cmd + F7
Auto-completeCtrl + SpaceCtrl + Space
Toggle CommentCtrl + /Cmd + /
Uppercase SelectionCtrl + Shift + UCmd + Shift + U
Lowercase SelectionCtrl + Shift + LCmd + Shift + L
Duplicate LineCtrl + Shift + DCmd + Shift + D
Delete LineCtrl + YCmd + Y

Navigation

Move around quickly.

ActionWindowsMac
Go to LineCtrl + GCmd + G
FindCtrl + FCmd + F
Find and ReplaceCtrl + HCmd + H
Find NextF3Cmd + G
Go to DefinitionCtrl + ClickCmd + Click
Switch TabsCtrl + TabCtrl + Tab

File Operations

Manage worksheets and files.

ActionWindowsMac
New WorksheetAlt + F10Opt + F10
Open FileCtrl + OCmd + O
SaveCtrl + SCmd + S
Close TabCtrl + WCmd + W
UndoCtrl + ZCmd + Z
RedoCtrl + Shift + ZCmd + Shift + Z

Pro Tips

Get more out of SQL Developer with these power-user habits.

  • Ctrl+Enter vs F5Ctrl+Enter runs only the statement where your cursor is. F5 runs the entire script. Use Ctrl+Enter for testing individual queries.
  • Quick table describe — type a table name and press Shift+F4 to instantly see its columns, indexes, and constraints in a popup.
  • Customize shortcuts — go to Tools → Preferences → Shortcut Keys to view all shortcuts and customize them to your preference.
~/downloads ready.sh

Apply These Shortcuts: Format Your SQL

The fastest way to test the cheat sheet is to paste messy SQL into the editor and hit Ctrl+F7. The Format SQL guide covers the rules behind what the formatter does and how to customize them per project.

// next.specformat-sql.md · Ctrl+F7
// see-alsorun-sql-script.md · F5