Keyboard shortcuts - hankinsoft/SQLPro GitHub Wiki

General

  • Cmd + C Opens the connection dialog.

Tab navigation

  • Cmd + W Close the current tab. Closes the document if no tabs are open.
  • Cmd + T Opens a new tab.
  • Cmd + 0-9 Switches to the tab at that index.
  • Cmd + Shift + ] Switches to the next tab.
  • Cmd + Shift + [ Switches to the previous tab.

Query Tab

  • Cmd + E Run the current query.
  • Cmd + Shift + H Display the history popup.
  • Cmd + Shift + D Display the database selector popup.
  • Cmd + K Hide/show the results grid.
  • Cmd + - Comment/Uncomment query. (Selection based).
  • Cmd + Shift + K Format query.
  • Cmd + Shift + G Goto line.
  • Ctrl + ] Move to matching bracket.
  • Esc Show/hide autocomplete.

Database Tree

  • Cmd + Down Default action for current item. (Action depends on selected node).
  • Cmd + Right Secondary action for current item. (Action depends on selected node).
  • Cmd + L Hide/show database tree.