Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.
Qt Creator Keyboard Shortcuts: Difference between revisions
Jump to navigation
Jump to search
AutoSpider (talk | contribs) (Add "cleanup" tag) |
m (Added shortcut for toggling between the form editor and source file) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Tools::QtCreator]] | [[Category:Tools::QtCreator]] | ||
Line 9: | Line 5: | ||
== Working with the editor == | == Working with the editor == | ||
{| | {| class="wikitable" | ||
|Activate Welcome mode | |Activate Welcome mode | ||
|'''CTRL + 1''' | |'''CTRL + 1''' | ||
Line 39: | Line 35: | ||
|Toggle header file and source file | |Toggle header file and source file | ||
|'''F4''' | |'''F4''' | ||
|- | |||
|Toggle form editor and source file | |||
|'''SHIFT + F4''' | |||
|- | |- | ||
|Toggle Side Bar | |Toggle Side Bar | ||
Line 61: | Line 60: | ||
== Building and debugging == | == Building and debugging == | ||
{| | {| class="wikitable" | ||
|Start Debugging | |Start Debugging | ||
|'''F5''' | |'''F5''' | ||
Line 79: | Line 78: | ||
== File shortcuts == | == File shortcuts == | ||
{| | {| class="wikitable" | ||
|New File or Project | |New File or Project | ||
|'''CTRL + N''' | |'''CTRL + N''' | ||
Line 104: | Line 103: | ||
== Edit shortcuts == | == Edit shortcuts == | ||
| Undo | '''CTRL + Z''' | | {| class="wikitable" | ||
| Redo | '''CTRL + Y''' | | | Undo | ||
| Cut | '''CTRL + X''' | | | '''CTRL + Z''' | ||
| Copy | '''CTRL + C''' | | |- | ||
| Copy line down | '''CTRL + ALT + DOWN''' | | | Redo | ||
| Copy line up | '''CTRL + ALT + UP''' | | | '''CTRL + Y''' | ||
| Paste | '''CTRL + V''' | | |- | ||
| Select All | '''CTRL + A''' | | Cut | ||
| '''CTRL + X''' | |||
| | |- | ||
| Auto-indent Selection | '''CTRL + I''' | | | Copy | ||
| Rewrap Paragraph | '''CTRL + E, R''' | | | '''CTRL + C''' | ||
| Visualize Whitespace | '''CTRL + E, CTRL + V''' | | |- | ||
| Enable Text Wrapping | '''CTRL + E, CTRL + W''' | | | Copy line down | ||
| (Un)Comment Selection | CTRL + / | | | '''CTRL + ALT + DOWN''' | ||
| Collapse | '''CTRL + <''' | | |- | ||
| Expand | '''CTRL + >''' | | | Copy line up | ||
| Find/Replace | '''CTRL + F''' | | | '''CTRL + ALT + UP''' | ||
| Open Advanced Find | '''CTRL + SHIFT + F''' | | |- | ||
| Find next | '''F3''' | | | Paste | ||
| Find previous | '''SHIFT + F3''' | | | '''CTRL + V''' | ||
| Replace and Find next | CTRL + = | | |- | ||
| Go To Line | '''CTRL + L''' | | | Select All | ||
| '''CTRL + A''' | |||
|- | |||
| Auto-indent Selection | |||
| '''CTRL + I''' | |||
|- | |||
| Rewrap Paragraph | |||
| '''CTRL + E, R''' | |||
|- | |||
| Visualize Whitespace | |||
| '''CTRL + E, CTRL + V''' | |||
|- | |||
| Enable Text Wrapping | |||
| '''CTRL + E, CTRL + W''' | |||
|- | |||
| (Un)Comment Selection | |||
| ''' CTRL + / ''' | |||
|- | |||
| Collapse | |||
| '''CTRL + <''' | |||
|- | |||
| Expand | |||
| '''CTRL + >''' | |||
|- | |||
| Find/Replace | |||
| '''CTRL + F''' | |||
|- | |||
| Open Advanced Find | |||
| '''CTRL + SHIFT + F''' | |||
|- | |||
| Find next | |||
| '''F3''' | |||
|- | |||
| Find previous | |||
| '''SHIFT + F3''' | |||
|- | |||
| Replace and Find next | |||
| ''' CTRL + = ''' | |||
|- | |||
| Go To Line | |||
| '''CTRL + L''' | |||
|} | |||
== Build shortcuts == | == Build shortcuts == | ||
{| | {| class="wikitable" | ||
|Build All | |Build All | ||
|'''CTRL + SHIFT + B''' | |'''CTRL + SHIFT + B''' | ||
|- | |- | ||
|Build Project | |Build Project | ||
| | |'''CTRL + B''' | ||
|- | |- | ||
|Run | |Run | ||
Line 146: | Line 186: | ||
== Debug shortcuts == | == Debug shortcuts == | ||
{| | {| class="wikitable" | ||
|Start Debugging | |Start Debugging | ||
|'''F5''' | |'''F5''' | ||
Line 174: | Line 214: | ||
== Tools shortcuts == | == Tools shortcuts == | ||
{| | {| class="wikitable" | ||
|Locate | |Locate | ||
|'''CTRL + K''' | |'''CTRL + K''' | ||
Line 182: | Line 222: | ||
|- | |- | ||
|Previous Bookmark | |Previous Bookmark | ||
|CTRL + , | |'''CTRL + , ''' | ||
|- | |- | ||
|Next Bookmark | |Next Bookmark | ||
|CTRL + . | |'''CTRL + . ''' | ||
|- | |- | ||
|Switch Header/Source | |Switch Header/Source | ||
|'''F4''' | |'''F4''' | ||
|} | |} | ||
Latest revision as of 08:20, 27 July 2016
Shortcuts based on activity
Working with the editor
Activate Welcome mode | CTRL + 1 |
Activate Edit mode | CTRL + 2 |
Activate Debug mode | CTRL + 3 |
Activate Projects mode | CTRL + 4 |
Activate Help mode | CTRL + 5 |
Activate Output mode | CTRL + 6 |
Return to Edit mode | ESCAPE |
Switch current file | CTRL + TAB |
Toggle code declaration and definition | F2 |
Toggle header file and source file | F4 |
Toggle form editor and source file | SHIFT + F4 |
Toggle Side Bar | ALT + 0 |
Toggle Build Issues pane | ALT + 1 |
Toggle Search Results pane | ALT + 2 |
Toggle Application Output pane | ALT + 3 |
Toggle Compile Output pane | ALT + 4 |
Force code completion | CTRL + SPACE |
Building and debugging
Start Debugging | F5 |
Stop Debugging | SHIFT + F5 |
Build current project | CTRL + B |
Build All | CTRL + SHIFT + B |
File shortcuts
New File or Project | CTRL + N |
Open File or Project | CTRL + O |
Save current file | CTRL + S |
Save all | CTRL + SHIFT + S |
Close current file | CTRL + W |
Close all | CTRL + SHIFT + W |
Exit | CTRL + Q |
Edit shortcuts
Undo | CTRL + Z |
Redo | CTRL + Y |
Cut | CTRL + X |
Copy | CTRL + C |
Copy line down | CTRL + ALT + DOWN |
Copy line up | CTRL + ALT + UP |
Paste | CTRL + V |
Select All | CTRL + A |
Auto-indent Selection | CTRL + I |
Rewrap Paragraph | CTRL + E, R |
Visualize Whitespace | CTRL + E, CTRL + V |
Enable Text Wrapping | CTRL + E, CTRL + W |
(Un)Comment Selection | CTRL + / |
Collapse | CTRL + < |
Expand | CTRL + > |
Find/Replace | CTRL + F |
Open Advanced Find | CTRL + SHIFT + F |
Find next | F3 |
Find previous | SHIFT + F3 |
Replace and Find next | CTRL + = |
Go To Line | CTRL + L |
Build shortcuts
Build All | CTRL + SHIFT + B |
Build Project | CTRL + B |
Run | CTRL + R |
Open Build/Run Target Selector | CTRL + T |
Debug shortcuts
Start Debugging | F5 |
Stop Debugging | SHIFT + F5 |
Step Over | F10 |
Step Into | F11 |
Step Out | SHIFT + F11 |
Reverse Direction | F12 |
Snapshot | ALT + D, ALT + S |
Toggle Breakpoint | F9 |
Tools shortcuts
Locate | CTRL + K |
Toggle Bookmarks | CTRL + M |
Previous Bookmark | CTRL + , |
Next Bookmark | CTRL + . |
Switch Header/Source | F4 |