Shortcuts Qt Creator for Windows

131 shortcuts2,550 views
Open Trainer

General

WindowsAction
Ctrl+OOpen file or project
Ctrl+NNew file or project
Alt+V, Alt+IOpen in external editor
Ctrl+ASelect all
DeleteDelete
Ctrl+X/Ctrl+C/Ctrl+VCut / Copy / Paste
Ctrl+ZUndo
Ctrl+YRedo
Ctrl+PPrint
Ctrl+SSave
Ctrl+Shift+SSave all
Ctrl+WClose window
Ctrl+Shift+WClose all windows
Ctrl+F4Close current file
Alt+Arrow Left /Alt+Arrow RightGo back / Go forward
Ctrl+LGo to line
Ctrl+E, OGo to other split
Ctrl+Tab/Ctrl+Shift+TabPrevious open document / Next open document in history
Ctrl+KActivate Locator
Ctrl+1Switch to Welcome mode
Ctrl+2Switch to Edit mode
Ctrl+3Switch to Design mode
Ctrl+4Switch to Debug mode
Ctrl+5Switch to Projects mode
Ctrl+6Switch to Analyze mode
Ctrl+7Switch to Help mode
Alt+1Toggle Issues pane
Alt+2Toggle Search Results pane
Alt+3Toggle Application Output pane
Alt+4Toggle Compile Output pane
Alt+5...9Toggle other output panes
Alt+MActivate Bookmarks pane
Alt+YActivate File System pane
Alt+OActivate Open Documents pane
Alt+9Maximize output panes
F6Move to next item in output panes
Shift+F6Move to previous item in output panes
Alt+XActivate Projects pane
Ctrl+Shift+F11Full screen
Alt+0Toggle the sidebar
EscMove to Edit mode
Ctrl+QExit Qt Creator

Editor

WindowsAction
Ctrl+IAuto-indent selection
Ctrl+</Ctrl+>Collapse / Expand
Ctrl+SpaceTrigger a completion in this scope
Ctrl+InsertCopy line
Ctrl+Alt+DownCopy line down / copy line up
Ctrl+Shift+VPaste from the clipboard history, Subsequent presses move you back in the history
Shift+DeleteCut line
Ctrl+JJoin lines
Ctrl+Shift+EnterInsert line above current line
Ctrl+EnterInsert line below current line
Ctrl+-/Ctrl++Decrease / increase font size (or Ctrl+scroll)
Ctrl+0Reset font size
Alt+V, Alt+VToggle Vim-style editing
Ctrl+E, 2Split
Ctrl+E, 3Split side by side
Ctrl+E, 1Remove all splits
Ctrl+E, 0Remove current split
Ctrl+ASelect 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 UpMove current line down / Move current line up
Alt+EnterTrigger a refactoring action in this scope
Ctrl+E, RRewrap paragraph
Ctrl+USelect the current block The second press extends the selection to the parent block
Ctrl+E, Ctrl+WEnable text wrapping
Ctrl+/Toggle comment for selection
Ctrl+E, Ctrl+VVisualize whitespace
Ctrl+JAdjust size
Ctrl+GLay out in a grid
Ctrl+HLay out horizontally
Ctrl+LLay out vertically
Alt+Shift+RPreview
F4Edit signals and slots
Ctrl+MToggle bookmark
Ctrl+./Ctrl+,Go to next bookmark / go to previous bookmar
Alt+C, Alt+FFetch snippet
Alt+C, Alt+PPaste snippet
Ctrl+Shift+UFind usages
F2Follow symbol under cursor; Works with namespaces, classes, methods, variables, include statements and macros
Ctrl+Shift+RRename symbol under cursor
Shift+F2Switch between method declaration and definition
Ctrl+Shift+TOpen type hierarchy
F4Switch between header and source file
Alt+UTurn selected text into lowercase
Alt+Shift+UTurn selected text into uppercase
Ctrl+Shift+CRun static checks on JavaScript code to find common problems
Ctrl+FFind and replace
F3/Shift+F3Find next / Find previous
Ctrl+F3/Ctrl+Shift+F3Find next / Find previous occurrence of selected text
Ctrl+=Replace next
Ctrl+Shift+FOpen advanced find
Alt+(Record a text-editing macro
Alt+)Stop recording a macro
Alt+RPlay last macro
Ctrl+Alt+SpaceShow Qt Quick toolbars
Alt+V, 1...9Execute user actions 1 … 9 in FakeVim mode

Image Viewer

WindowsAction
Ctrl+[Switch to background
Ctrl+]Switch to outline
Ctrl++/Ctrl+-Zoom in / Zoom out
Ctrl+=Fit to screen
Ctrl+0Original size

Qt Quick Designer

WindowsAction
F2Open the QML file that defines the selected component
F4Move between code editor and visual editor
Ctrl+Alt+0Toggle left sidebar
Ctrl+Alt+Shift+0Toggle right sidebar

Debugging

WindowsAction
F5Start or continue debugging
Shift+F5Exit debugger
F10Step over
F11Step into
Shift+F11Step out
F9Toggle breakpoint
Ctrl+F6Run to selected function
Ctrl+F10Run to line
F12Reverse direction

Project

WindowsAction
Ctrl+BBuild project
Ctrl+Shift+BBuild all
Ctrl+Shift+NNew project
Ctrl+Shift+OOpen project
Ctrl+TSelect the kit to build and run your project with
Ctrl+RRun

Version Control

WindowsAction

WindowsAction
Alt+G, Alt+AAdd
Alt+G, Alt+CCommit/Submit
Alt+G, Alt+DDiff

Help

WindowsAction
F1View context-sensitive help
Ctrl+TActivate contents in Help mode
Ctrl+MAdd bookmark in Help mode
Ctrl+IActivate index in Help mode
Ctrl+0Reset font size
Ctrl+SActivate search in Help mode