153 Shortcuts for Qt Creator (MacOS)  [edit]

minusplus1. General
Ctrl+O Open file or project
Ctrl+N New file or project
Command+V, Command+I Open in external editor
Ctrl+A Select all
Delete Delete
Ctrl+X/Ctrl+C/Ctrl+V Cut / Copy / Paste
Ctrl+Z Undo
Ctrl+Y Redo
Ctrl+P Print
Ctrl+S Save
Ctrl+Shift+S Save all
Ctrl+W Close window
Ctrl+Shift+W Close all windows
Ctrl+F4 Close current file
Command+Arrow Left /Command+Arrow Right Go back / Go forward
Ctrl+L Go to line
Ctrl+E, O Go to other split
Ctrl+Tab/Ctrl+Shift+Tab Previous open document / Next open document in history
Ctrl+K Activate Locator
Ctrl+1 Switch to Welcome mode
Ctrl+2 Switch to Edit mode
Ctrl+3 Switch to Design mode
Ctrl+4 Switch to Debug mode
Ctrl+5 Switch to Projects mode
Ctrl+6 Switch to Analyze mode
Ctrl+7 Switch to Help mode
Command+1 Toggle Issues pane
Command+2 Toggle Search Results pane
Command+3 Toggle Application Output pane
Command+4 Toggle Compile Output pane
Command+5...9 Toggle other output panes
Command+M Activate Bookmarks pane
Command+Y Activate File System pane
Command+O Activate Open Documents pane
Command+9 Maximize output panes
F6 Move to next item in output panes
Shift+F6 Move to previous item in output panes
Command+X Activate Projects pane
Ctrl+Shift+F11 Full screen
Command+0 Toggle the sidebar
Esc Move to Edit mode
Ctrl+Q Exit Qt Creator

▲ up

minusplus2. Editor
Ctrl+I Auto-indent selection
Ctrl+</Ctrl+> Collapse / Expand
Ctrl+Space Trigger a completion in this scope
Ctrl+Insert Copy line
Ctrl+Command+Down Copy line down / copy line up
Ctrl+Shift+V Paste from the clipboard history, Subsequent presses move you back in the history
Shift+Delete Cut line
Ctrl+J Join lines
Ctrl+Shift+Enter Insert line above current line
Ctrl+Enter Insert line below current line
Ctrl+-/Ctrl++ Decrease / increase font size (or Ctrl+scroll)
Ctrl+0 Reset font size
Command+V, Alt+V Toggle Vim-style editing
Ctrl+E, 2 Split
Ctrl+E, 3 Split side by side
Ctrl+E, 1 Remove all splits
Ctrl+E, 0 Remove current split
Ctrl+A Select all
Ctrl+]/Ctrl+[ Go to block end / Go to block start
Ctrl+}/Ctrl+{ Go to block end / Go to block start with selection
Ctrl+Shift+Arrow Down /Ctrl+Shift+Arrow Up Move current line down / Move current line up
Command+Enter Trigger a refactoring action in this scope
Ctrl+E, R Rewrap paragraph
Ctrl+U Select the current block The second press extends the selection to the parent block
Ctrl+E, Ctrl+W Enable text wrapping
Ctrl+/ Toggle comment for selection
Ctrl+E, Ctrl+V Visualize whitespace
Ctrl+J Adjust size
Ctrl+G Lay out in a grid
Ctrl+H Lay out horizontally
Ctrl+L Lay out vertically
Command+Shift+R Preview
F4 Edit signals and slots
Ctrl+M Toggle bookmark
Ctrl+./Ctrl+, Go to next bookmark / go to previous bookmar
Command+C, Alt+F Fetch snippet
Command+C, Alt+P Paste snippet
Ctrl+Shift+U Find usages
F2 Follow symbol under cursor; Works with namespaces, classes, methods, variables, include statements and macros
Ctrl+Shift+R Rename symbol under cursor
Shift+F2 Switch between method declaration and definition
Ctrl+Shift+T Open type hierarchy
F4 Switch between header and source file
Command+U Turn selected text into lowercase
Command+Shift+U Turn selected text into uppercase
Ctrl+Shift+C Run static checks on JavaScript code to find common problems
Ctrl+F Find and replace
F3/Shift+F3 Find next / Find previous
Ctrl+F3/Ctrl+Shift+F3 Find next / Find previous occurrence of selected text
Ctrl+= Replace next
Ctrl+Shift+F Open advanced find
Command+( Record a text-editing macro
Command+) Stop recording a macro
Command+R Play last macro
Ctrl+Command+Space Show Qt Quick toolbars
Command+V, 1...9 Execute user actions 1 … 9 in FakeVim mode

▲ up

minusplus3. Image Viewer
Ctrl+[ Switch to background
Ctrl+] Switch to outline
Ctrl++ /Ctrl+- Zoom in / Zoom out
Ctrl+= Fit to screen
Ctrl+0 Original size

▲ up

minusplus4. Qt Quick Designer
F2 Open the QML file that defines the selected component
F4 Move between code editor and visual editor
Ctrl+Command+0 Toggle left sidebar
Ctrl+Command+Shift+0 Toggle right sidebar

▲ up

minusplus5. Debugging
F5 Start or continue debugging
Shift+F5 Exit debugger
F10 Step over
F11 Step into
Shift+F11 Step out
F9 Toggle breakpoint
Ctrl+F6 Run to selected function
Ctrl+F10 Run to line
F12 Reverse direction

▲ up

minusplus6. Project
Ctrl+B Build project
Ctrl+Shift+B Build all
Ctrl+Shift+N New project
Ctrl+Shift+O Open project
Ctrl+T Select the kit to build and run your project with
Ctrl+R Run

▲ up

minusplus7. Version Control
minusplusBazaar
Command+Z, Alt+C Commit/Submit
Command+Z, Alt+D Diff
Command+Z, Alt+L Log/Filelog
Command+Z, Alt+S Status
minusplusCVS
Command+C, Alt+A Add
Command+C, Alt+C Commit/Submit
Command+C, Alt+D Diff
minusplusGit
Command+G, Command+A Add
Command+G, Command+C Commit/Submit
Command+G, Command+D Diff
Command+G, Command+Shift+D Diff project
Command+G, Command+B Blame/Annotate
Command+G, Command+L Log/Filelog
Command+G, Command+K Log project
Command+G, Command+U Undo changes/Revert
minusplusMercurial
Command+P, Command+A Add
Command+P, Command+S Commit/Submit
Command+P, Command+D Diff project
Command+P, Command+F Log/Filelog
Command+P, Command+R Undo changes/Revert
Command+P, Command+E Edit
minusplusSubversion
Command+G, Command+A Add
Command+G, Command+C Commit/Submit
Command+G, Command+D Diff

▲ up

minusplus8. Help
F1 View context-sensitive help
Ctrl+T Activate contents in Help mode
Ctrl+M Add bookmark in Help mode
Ctrl+I Activate index in Help mode
Ctrl+0 Reset font size
Ctrl+S Activate search in Help mode

▲ up

 

Sources: QT Creater Documentation


Uploaded by bernd, updated on 2/1/2015