Hotkeys and shortcuts for Qt Creator

(Total 153)

Ctrl + O
General
Open file or project
Ctrl + N
General
New file or project
Alt + V then Alt + I
General
Open in external editor
Ctrl + A
Editing
Select all
Del
General
Delete
Ctrl + X
General
Cut
Ctrl + C
General
Copy
Ctrl + V
General
Paste
Ctrl + Y
General
Redo
Ctrl + P
General
Print
Ctrl + S
Help
Activate search in Help mode
Ctrl + ↑   Shift + S
General
Save all
Ctrl + W
General
Close window
Ctrl + ↑   Shift + W
General
Close all
Ctrl + F4
General
Close current file
Alt +
General
Go back
Alt +
General
Go forward
Ctrl + L
Editing
Lay out vertically
Ctrl + ↑   Shift + ⭾ Tab
General
Next open document in history
Ctrl + E then O
General
Go to other split
Ctrl + ⭾ Tab
General
Previous open document in history
Ctrl + K
General
Activate Locator
Ctrl + 1
General
Switch to Welcome mode
Ctrl + 2
General
Switch to Edit mode
Ctrl + 3
General
Switch to Design mode
Ctrl + 4
General
Switch to Debug mode
Ctrl + 5
General
Switch to Projects mode
Ctrl + 6
General
Switch to Help mode
Alt + 1
General
Toggle Issues pane
Alt + 2
General
Toggle Search Results pane
Alt + 3
General
Toggle Application Output pane
Alt + 4
General
Toggle Compile Output pane
Alt + Num 0 - Num 9
General
Toggle other output panes
Alt + M
General
Activate Bookmarks pane
Alt + Y
General
Activate File System pane
Alt + O
General
Activate Open Documents pane
Alt + 9
General
Maximize output panes
F6
General
Move to next item in output panes
↑   Shift + F6
General
Move to previous item in output panes
Alt + X
General
Activate Projects pane
Ctrl + ↑   Shift + F11
General
Full screen
Alt + 0
General
Toggle the sidebar
Ctrl + Z
General
Undo
Esc
General
Move to Edit mode. First press moves focus to the editor. Second press closes secondary windows
Ctrl + Q
General
Exit Qt Creator
Ctrl + I
Help
Activate index in Help mode
Ctrl + <
Editing
Collapse
Ctrl + >
Editing
Expand
Ctrl + Space
Editing
Trigger a completion in this scope
Ctrl + Insert
Editing
Copy line
Ctrl + Alt +
Editing
Copy line down
Ctrl + Alt +
Editing
Copy line up
Ctrl + ↑   Shift + V
Editing
Paste from the clipboard history (Subsequent presses move you back in the history)
↑   Shift + Del
Editing
Cut line
Ctrl + J
Editing
Adjust size
Ctrl + ↑   Shift + ⤶ Enter
Editing
Insert line above current line
Ctrl + ⤶ Enter
Editing
Insert line below current line
Ctrl + Mouse wheel down
Editing
Decrease font size
Ctrl + Mouse wheel up
Editing
Increase font size
Ctrl + 0
Help
Reset font size
Alt + V then Alt + V
Editing
Toggle Vim-style editing
Ctrl + E then 2
Editing
Split
Ctrl + E then 3
Editing
Split side by side
Ctrl + E then 1
Editing
Remove all splits
Ctrl + E then 0
Editing
Remove current split
Ctrl + ]
Image Viewer
Switch to outline
Ctrl + [
Image Viewer
Switch to background
Ctrl + ↑   Shift + ]
Editing
Go to block end and select the lines between the current cursor position and the end of the block
Ctrl + ↑   Shift + [
Editing
Go to block start and select the lines between the current cursor position and the beginning of the block
Ctrl + U
Editing
Select the current block (The second press extends the selection to the parent block. To enable this behavior, select Tools> Options > Text Editor > Behavior > Enable smart selection changing)
Ctrl + Alt + ↑   Shift + U
Editing
Undo the latest smart block selection
Ctrl + ↑   Shift +
Editing
Move current line down
Ctrl + ↑   Shift +
Editing
Move current line up
Alt + ⤶ Enter
Editing
Trigger a refactoring action in this scope
Ctrl + E then R
Editing
Rewrap paragraph
Ctrl + E then Ctrl + W
Editing
Enable text wrapping
Ctrl + /
Editing
Toggle comment for selection
Ctrl + E then Ctrl + V
Editing
Visualize whitespace
Ctrl + G
Editing
Lay out in a grid
Ctrl + H
Editing
Lay out horizontally
Alt + ↑   Shift + R
Editing
Preview
F4
Qt Quick Designer
Move between Text Editor and Form Editor
Ctrl + M
Help
Add bookmark in Help mode
Ctrl + .
Editing
Go to next bookmark
Ctrl + then Go
Editing
to previous bookmark
Alt + C then Alt + F
Editing
Fetch snippet
Alt + C then Alt + P
Editing
Paste snippet
Ctrl + ↑   Shift + U
Editing
Find usages
F2
Qt Quick Designer
Open the QML file that defines the selected component
Ctrl + ↑   Shift + R
Editing
Rename symbol under cursor
↑   Shift + F2
Editing
Switch between function declaration and definition
Ctrl + ↑   Shift + T
Editing
Open type hierarchy
Alt + U
Editing
Turn selected text into lowercase
Alt + ↑   Shift + U
Editing
Turn selected text into uppercase
Ctrl + ↑   Shift + C
Editing
Run static checks on JavaScript code to find common problems
Ctrl + F
Editing
Find and replace
F3
Editing
Find next
↑   Shift + F3
Editing
Find previous
Ctrl + F3
Editing
Find next occurrence of selected text
Ctrl + ↑   Shift + F3
Editing
Find previous occurrence of selected text
Ctrl + =
Image Viewer
Fit to screen
Ctrl + ↑   Shift + F
Editing
Open advanced find
Alt + (
Editing
Record a text-editing macro
Alt + )
Editing
Stop recording a macro
Alt + R
Editing
Play last macro
Ctrl + Alt + Space
Editing
Show Qt Quick toolbars
Alt + V then 1 - 9
Editing
(use the number of the user action) Execute user actions in FakeVim mode
Ctrl + + Zoom
Image Viewer
in
Ctrl + +
Image Viewer
Zoom out
Ctrl + Alt + 0
Qt Quick Designer
Toggle left sidebar
Ctrl + Alt + ↑   Shift + 0
Qt Quick Designer
Toggle right sidebar
F5
Debugging
Start or continue debugging
↑   Shift + F5
Debugging
Exit debugger
F10
Debugging
Step over
F11
Debugging
Step into
↑   Shift + F11
Debugging
Step out
F9
Debugging
Toggle breakpoint
Ctrl + F6
Debugging
Run to selected function
Ctrl + F10
Debugging
Run to line
F12
Debugging
Reverse direction
Ctrl + B
Project
Build project
Ctrl + ↑   Shift + B
Project
Build all
Ctrl + ↑   Shift + N
Project
New project
Ctrl + ↑   Shift + O
Project
Open project
Ctrl + T
Help
Activate contents in Help mode
Ctrl + R
Project
Run
F1
Help
View context-sensitive help
Alt + Z then Alt + C
Version control - Bazaar
Add
Alt + Z then Alt + D
Version control - Bazaar
Commit/Submit
Alt + Z then Alt + L
Version control - Bazaar
Blame/Annotate
Alt + Z then Alt + S
Version control - Bazaar
Log project
Alt + C then Alt + A
Version control - CVS
Add
Alt + C then Alt + C
Version control - CVS
Commit/Submit
Alt + C then Alt + D
Version control - CVS
Diff
Alt + G then Alt + A
Version control - Git
Add
Alt + G then Alt + C
Version control - Mercurial
Add
Alt + G then Alt + D
Version control - Mercurial
Commit/Submit
Alt + G then Alt + ↑   Shift + D
Version control - Git
Diff project
Alt + G then Alt + B
Version control - Git
Blame/Annotate
Alt + G then Alt + L
Version control - Mercurial
Blame/Annotate
Alt + G then Alt + K
Version control - Git
Log project
Alt + G then Alt + U
Version control - Git
Undo changes/Revert
Alt + G then Alt + S
Version control - Mercurial
Log project
Alt + P then Alt + A
Version control - Perforce
Add
Alt + P then Alt + S
Version control - Perforce
Commit/Submit
Alt + P then Alt + D
Version control - Perforce
Diff project
Alt + P then Alt + F
Version control - Perforce
Log/Filelog
Alt + P then Alt + R
Version control - Perforce
Undo changes/Revert
Alt + P then Alt + E
Version control - Perforce
Edit
Alt + P then Alt + O
Version control - Perforce
Opened
Alt + S then Alt + A
Version control - Subversion
Add
Alt + S then Alt + C
Version control - Subversion
Commit/Submit
Alt + S then Alt + D
Version control - Subversion
Diff