You are on page 1of 2

Sidebar Opened Gles Symbol overview

Qt Creator reference card


Welcome
^+1 Editor layout File
Edit
^+2

Design
^+3
Ctrl+E, 2 ^+E, 2 split Ctrl+N ⌘+N new le or project
Debug
^+4
Ctrl+E, 3 ^+E, 3 split side by side Ctrl+O ⌘+O open le or project
Projects
^+5
Ctrl+E, 0 ^+E, 0 remove current splits Ctrl+S ⌘+S save current document
Analyze Ctrl+E, 1 ^+E, 1 remove all splits Ctrl+Shift+S ⌘++S save all documents
^+6

Help
Ctrl+E, O ^+E, O go to next split Ctrl+W ⌘+W close current le
^+7
Ctrl+Shift+W ⌘++W close all les

Text Editor
Target selector
Ctrl+Z ⌘+Z undo Document navigation
⌘+T
Ctrl+Shift+Z ⌘++Z redo Ctrl+Tab ⌥+⇥ previous document in history
Run ⌘+R
Ctrl+C ⌘+C copy Ctrl+Shift+ ⌥++⇥ next document in history
Tab
Debug ⌘+Y Ctrl+V ⌘+V paste
Build project
⌘+B Ctrl+Shift+V ⌘++V paste from clipboard history
Alt+← ⌘+⌥+← go back
⌘+0 Locator ⌘+K ⌘+1 ⌘+2 ⌘+3 ⌘+4 Ctrl+X ⌘+X cut
Alt+→ ⌘+⌥+→ go forward

Mode Locator Ctrl+A ⌘+A select all


Ctrl+Ins ⌘+Ins copy line
Ctrl+1 ^+1 Ctrl+K ⌘+K
Shift+Del +Del cut line Code editor
activate welcome mode activate locator
Ctrl+I ⌘+I auto-indent selection
Ctrl+2 ^+2 <text> <text>
Ctrl+Shift+ ⌘++ move line up
activate edit mode les in any project 
Ctrl+/ ⌘+/ (un)comment selection
Ctrl+3 ^+3 activate design mode l <number> l <number> line in current document Ctrl+Shift+ ⌘++ move line down Ctrl+Shift+ ⌘++R rename symbol
Ctrl+4 ^+4 activate debug mode m <text> m <text> methods Ctrl+Alt+ ⌘+⌥+ copy line up R
Ctrl+5 ^+5 c <text> c <text> Ctrl+< ⌘+< fold block
activate projects mode classes Ctrl+Alt+ ⌘+⌥+ copy line down
Ctrl+6 ^+6 : <text> : <text> Ctrl+> ⌘+> expand block
activate analyze mode classes or methods Ctrl+0 ^+0 reset font size
Ctrl+7 ^+7 . <text> . <text> Ctrl+[ ⌘+[ go to block start
activate help mode methods in current document Ctrl++ ⌘++ increase font size
Esc Esc ? <text> ? <text> Ctrl+] ⌘+] go to block end
go back to code editor help index Ctrl+- ⌘+- decrease font size
Esc, Esc Esc, Esc f <text> f <text> Ctrl+{ ⌘+{ go to block start with selection
close all secondary windows les in le system Alt+V, Alt+V ^+V, ^+V toggle vim-style editing
in editor mode p <text> p <text> les in current project Ctrl+} ⌘+} go to block end with selection
git <text> git <text> Ctrl+U ⌘+U select block up
execute git command
cm <text> cm <text> build CMake target Find & replace Ctrl+Space ^+Space trigger completion
Output panes rm <text> rm <text> play saved macro Ctrl+F ⌘+F nd / replace in current Alt+Return ⌥+Return trigger quick x
Alt+0 ⌘+0 toggle sidebar ! <text> ! <text> document
execute custom command
Ctrl+Shift+F ⌘++F open nd dialog
Code navigation
Alt+1 ⌘+1 toggle build issues
Ctrl+L ⌘+L go to line
Alt+2 ⌘+2 toggle search results
Alt+3 ⌘+3 toggle application output Sidebar F3 ⌘+G nd next
F2 F2 follow symbol under cursor

Alt+4 ⌘+4
Shift+F3 ⌘++G nd previous
Ctrl+Shift+U ⌘++U nd usages
toggle compile output Alt+M ^+⌥+M activate bookmarks pane
Alt+9 ⌘+9
Ctrl+F3 ⌘+F3 nd next (selected)
Shift+F2 +F2 switch between method
maximize output pane Alt+Y ^+Y activate le system pane declaration/denition
Ctrl+Shift ⌘++F3 nd previous (selected)
F6 F6 next item Alt+O ^+O activate open documents pane +F3 F4 F4 switch between header/source
Shift+F6 Shift+F6 previous item Alt+X ^+X activate projects pane Ctrl+= ⌘+= replace and nd next Shift+F4 +F4 switch between source
Qt Creator reference card

Form editor Git Kit setup


Ctrl+H ^++H lay out horizontally Alt+G, Alt+C ^+G, ^+C commit Step 1 add a compiler Tools > Options > Build & Run > Compilers
Ctrl+L ^+L lay out vertically Alt+G, Alt+D ^+G, ^+D diff current le
Ctrl+G ^++G lay out in a grid Alt+G, Alt+L ^+G, ^+L log current le
Ctrl+J ^+J adjust size Alt+G, Alt+A ^+G, ^+A stage current le
Alt+Shift+R ⌥++R preview Alt+G, Alt+B ^+G, ^+B blame current le
Alt+G, ^+G, diff current project
Alt+Shift+D ^+Shift+D
Alt+G, Alt+K ^+G, ^+K log current project
QML editor Alt+G, Alt+U ^+G, ^+U undo uncommitted changes
Step 2 add a Qt version Tools > Options > Build & Run > Qt Versions
Ctrl+Shift+ ^+⌥+Space show Qt Quick toolbar
Space

Help
C++ Editor F1 F1 context help
Ctrl+Shift+T ^++T open type hierarchy Ctrl+Shift+/ ^+/ activate search (help mode)
Ctrl+Shift+I ^+I activate index (help mode)

Build & Debugger


Ctrl+T ⌘+T open target selector Macros
Ctrl+B ⌘+B build current project Alt+( ⌘+( start recording macro Step 3 (optional) add a device Tools > Devices
Ctrl+Alt+B ⌘+⌥+B build current le Alt+) ⌘+) stop recording macro
Ctrl+Shift+B ⌘++B build all projects Alt+R ^+R play last macro
Ctrl+R ⌘+R run
F5 ⌘+Y start debugging / continue
Shift+F5 ⌘++Y stop debugger Image viewer
F9 F8 toggle breakpoint Ctrl+[ ⌘+[ switch background
F10 ⌘++0 step over Ctrl+] ⌘+] switch outline Step 4 create a new kit Tools > Options > Build & Run > Kits
use the compiler, Qt version and device created before
F11 ⌘++I step into Ctrl+= ⌘+= t to screen
Shift+F11 ⌘++T step out Ctrl+0 ^+0 original size
F12 reverse direction Ctrl++ ⌘++ zoom in
Ctrl+F10 +F8 run to line Ctrl+- ⌘+- zoom out
Ctrl+F6 ⌘+F6 run to selected function

Bookmarks
Ctrl+M ^+M toggle bookmark
Ctrl+. ^+. next bookmark
Ctrl+, ^+, previous bookmark

You might also like