============================= Qt Creator keyboard shortcuts ============================= First published at 3/8/2018 on https://defkey.com/qt-creator-shortcuts Qt Creator is a integrated development environment (IDE) for C++, JavaScript and QML. It is part of the SDK for Qt GUI application development framework. On Linux and FreeBSD, Qt uses compiler from GNU Compiler Collection. On Windows, it can use MinGW or MSVC. Qt Creator has 171 shortcuts and we have listed all of them below. General ------- Ctrl + O Open file or project Ctrl + N New file or project Alt + V then Alt + I Open in external editor Ctrl + A Select all Del Delete Ctrl + X Cut Ctrl + C Copy Ctrl + V Paste Ctrl + Y Redo Ctrl + P Print Ctrl + S Save Ctrl + Shift + S Save all Ctrl + W Close window Ctrl + Shift + W Close all Ctrl + F4 Close current file Alt + Left arrow Go back Alt + Right arrow Go forward Ctrl + L Go to line Ctrl + Shift + Tab Next open document in history Ctrl + E then O Go to other split Ctrl + Tab Previous 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 Help mode Alt + 1 Toggle Issues pane Alt + 2 Toggle Search Results pane Alt + 3 Toggle Application Output pane Alt + 4 Toggle Compile Output pane Alt + [Num 0 - 9] Toggle other output panes Alt + M Activate Bookmarks pane Alt + Y Activate File System pane Alt + O Activate Open Documents pane Alt + 9 Maximize output panes F6 Move to next item in output panes Shift + F6 Move to previous item in output panes Alt + X Activate Projects pane Ctrl + Shift + F11 Full screen Alt + 0 Toggle the sidebar Ctrl + Z Undo Esc Move to Edit mode. First press moves focus to the editor. Second press closes secondary windows Ctrl + Q Exit Qt Creator Editing ------- Ctrl + I Auto-indent selection Ctrl + < Collapse Ctrl + > Expand Ctrl + Space Trigger a completion in this scope Ctrl + Insert Copy line Ctrl + Alt + Down arrow Copy line down Ctrl + Alt + Up arrow Copy line up Ctrl + Shift + V Paste from the clipboard history (Subsequent presses move you back in the history) Shift + Del Cut line Ctrl + J Join lines Ctrl + Shift + Enter Insert line above current line Ctrl + Enter Insert line below current line Ctrl + Wheel down Decrease font size Ctrl + Wheel up Increase font size Ctrl + 0 Reset font size Alt + V then Alt + V Toggle Vim-style editing Ctrl + E then 2 Split Ctrl + E then 3 Split side by side Ctrl + E then 1 Remove all splits Ctrl + E then 0 Remove current split Ctrl + A Select all Ctrl + ] Go to block end Ctrl + [ Go to block start Ctrl + Shift + ] Go to block end and select the lines between the current cursor position and the end of the block Ctrl + Shift + [ Go to block start and select the lines between the current cursor position and the beginning of the block Ctrl + U 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 Undo the latest smart block selection Ctrl + Shift + Down arrow Move current line down Ctrl + Shift + Up arrow Move current line up Alt + Enter Trigger a refactoring action in this scope Ctrl + E then R Rewrap paragraph Ctrl + E then Ctrl + W Enable text wrapping Ctrl + / Toggle comment for selection Ctrl + E then 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 Alt + Shift + R Preview F4 Edit signals and slots Ctrl + M Toggle bookmark Ctrl + . Go to next bookmark Ctrl + then Go to previous bookmark Alt + C then Alt + F Fetch snippet Alt + C then Alt + P Paste snippet Ctrl + Shift + U Find usages F2 Follow symbol under cursor (Works with namespaces, classes, functions, variables, include statements and macros) Ctrl + Shift + R Rename symbol under cursor Shift + F2 Switch between function declaration and definition Ctrl + Shift + T Open type hierarchy F4 Switch between header and source file Alt + U Turn selected text into lowercase Alt + 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 Find next Shift + F3 Find previous Ctrl + F3 Find next occurrence of selected text Ctrl + Shift + F3 Find previous occurrence of selected text Ctrl + = Replace next Ctrl + Shift + F Open advanced find Alt + ( Record a text-editing macro Alt + ) Stop recording a macro Alt + R Play last macro Ctrl + Alt + Space Show Qt Quick toolbars Alt + V then [1 - 9] (use the number of the user action) Execute user actions in FakeVim mode Image Viewer ------------ Ctrl + [ Switch to background Ctrl + ] Switch to outline Ctrl + + Zoom in Ctrl + - Zoom out Ctrl + = Fit to screen Ctrl + 0 Original size Qt Quick Designer ----------------- F2 Open the QML file that defines the selected component F4 Move between Text Editor and Form Editor Ctrl + Alt + 0 Toggle left sidebar Ctrl + Alt + Shift + 0 Toggle right sidebar 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 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 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 Version control - Bazaar ------------------------ Alt + Z then Alt + C Add Alt + Z then Alt + D Commit/Submit Alt + Z then Alt + L Blame/Annotate Alt + Z then Alt + S Log project Version control - CVS --------------------- Alt + C then Alt + A Add Alt + C then Alt + C Commit/Submit Alt + C then Alt + D Diff Version control - Git --------------------- Alt + G then Alt + A Add Alt + G then Alt + C Commit/Submit Alt + G then Alt + D Diff Alt + G then Alt + Shift + D Diff project Alt + G then Alt + B Blame/Annotate Alt + G then Alt + L Log/Filelog Alt + G then Alt + K Log project Alt + G then Alt + U Undo changes/Revert Version control - Mercurial --------------------------- Alt + G then Alt + C Add Alt + G then Alt + D Commit/Submit Alt + G then Alt + L Blame/Annotate Alt + G then Alt + S Log project Version control - Perforce -------------------------- Alt + P then Alt + A Add Alt + P then Alt + S Commit/Submit Alt + P then Alt + D Diff project Alt + P then Alt + F Log/Filelog Alt + P then Alt + R Undo changes/Revert Alt + P then Alt + E Edit Alt + P then Alt + O Opened Version control - Subversion ---------------------------- Alt + S then Alt + A Add Alt + S then Alt + C Commit/Submit Alt + S then Alt + D Diff Source: Qt Last modified on (UTC): Monday, November 11, 2019 Defkey © All rights reserved.