Qt Creator Keyboard Shortcuts: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Added shortcut for toggling between the form editor and source file) |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Tools::QtCreator]] | |||
=Shortcuts based on activity= | = Shortcuts based on activity = | ||
==Working with the editor== | == Working with the editor == | ||
{| class=" | {| class="wikitable" | ||
| Activate Welcome mode | |Activate Welcome mode | ||
| ''' | |'''CTRL + 1''' | ||
|- | |- | ||
| Activate Edit mode | |Activate Edit mode | ||
| ''' | |'''CTRL + 2''' | ||
|- | |- | ||
| Activate Debug mode | |Activate Debug mode | ||
| ''' | |'''CTRL + 3''' | ||
|- | |- | ||
| Activate Projects mode | |Activate Projects mode | ||
| ''' | |'''CTRL + 4''' | ||
|- | |- | ||
| Activate Help mode | |Activate Help mode | ||
| ''' | |'''CTRL + 5''' | ||
|- | |- | ||
| Activate Output mode | |Activate Output mode | ||
| ''' | |'''CTRL + 6''' | ||
|- | |- | ||
| Return to Edit mode | |Return to Edit mode | ||
| ''' | |'''ESCAPE''' | ||
|- | |- | ||
| Switch current file | |Switch current file | ||
| ''' | |'''CTRL + TAB''' | ||
|- | |- | ||
| Toggle code declaration and definition | |Toggle code declaration and definition | ||
| '''F2''' | |'''F2''' | ||
|- | |- | ||
| Toggle header file and source file | |Toggle header file and source file | ||
| '''F4''' | |'''F4''' | ||
|- | |- | ||
| Toggle | |Toggle form editor and source file | ||
| ''' | |'''SHIFT + F4''' | ||
|- | |- | ||
| Toggle | |Toggle Side Bar | ||
| ''' | |'''ALT + 0''' | ||
|- | |- | ||
| Toggle | |Toggle Build Issues pane | ||
| ''' | |'''ALT + 1''' | ||
|- | |- | ||
| Toggle | |Toggle Search Results pane | ||
| ''' | |'''ALT + 2''' | ||
|- | |- | ||
| Toggle | |Toggle Application Output pane | ||
| ''' | |'''ALT + 3''' | ||
|- | |- | ||
| Force code completion | |Toggle Compile Output pane | ||
| ''' | |'''ALT + 4''' | ||
|- | |||
|Force code completion | |||
|'''CTRL + SPACE''' | |||
|} | |} | ||
==Building and debugging== | == Building and debugging == | ||
{| class=" | {| class="wikitable" | ||
| Start Debugging | |Start Debugging | ||
| '''F5''' | |'''F5''' | ||
|- | |- | ||
| Stop Debugging | |Stop Debugging | ||
| ''' | |'''SHIFT + F5''' | ||
|- | |- | ||
| Build current project | |Build current project | ||
| ''' | |'''CTRL + B''' | ||
|- | |- | ||
| Build All | |Build All | ||
| ''' | |'''CTRL + SHIFT + B''' | ||
|} | |} | ||
=Shortcuts straight from the menu= | = Shortcuts straight from the menu = | ||
==File shortcuts== | == File shortcuts == | ||
{| class=" | {| class="wikitable" | ||
| New File or Project | |New File or Project | ||
| ''' | |'''CTRL + N''' | ||
|- | |- | ||
| Open File or Project | |Open File or Project | ||
| ''' | |'''CTRL + O''' | ||
|- | |- | ||
| Save current file | |Save current file | ||
| ''' | |'''CTRL + S''' | ||
|- | |- | ||
| Save all | |Save all | ||
| ''' | |'''CTRL + SHIFT + S''' | ||
|- | |- | ||
| Close current file | |Close current file | ||
| ''' | |'''CTRL + W''' | ||
|- | |- | ||
| Close all | |Close all | ||
| ''' | |'''CTRL + SHIFT + W''' | ||
|- | |- | ||
| Exit | |Exit | ||
| ''' | |'''CTRL + Q''' | ||
|} | |} | ||
==Edit shortcuts== | == Edit shortcuts == | ||
{| class="wikitable" | |||
| 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 | | Auto-indent Selection | ||
| ''' | | '''CTRL + I''' | ||
|- | |- | ||
| Rewrap Paragraph | | Rewrap Paragraph | ||
| ''' | | '''CTRL + E, R''' | ||
|- | |- | ||
| Visualize Whitespace | | Visualize Whitespace | ||
| ''' | | '''CTRL + E, CTRL + V''' | ||
|- | |- | ||
| Enable Text Wrapping | | Enable Text Wrapping | ||
| ''' | | '''CTRL + E, CTRL + W''' | ||
|- | |- | ||
| (Un)Comment Selection | | (Un)Comment Selection | ||
| | | ''' CTRL + / ''' | ||
|- | |- | ||
| Collapse | | Collapse | ||
| ''' | | '''CTRL + <''' | ||
|- | |- | ||
| Expand | | Expand | ||
| ''' | | '''CTRL + >''' | ||
|- | |- | ||
| Find/Replace | | Find/Replace | ||
| ''' | | '''CTRL + F''' | ||
|- | |- | ||
| Open Advanced Find | | Open Advanced Find | ||
| ''' | | '''CTRL + SHIFT + F''' | ||
|- | |- | ||
| Find next | | Find next | ||
| '''F3''' | | '''F3''' | ||
|- | |- | ||
| Find previous | | Find previous | ||
| ''' | | '''SHIFT + F3''' | ||
|- | |- | ||
| Replace and Find next | | Replace and Find next | ||
| | | ''' CTRL + = ''' | ||
|- | |- | ||
| Go To Line | | Go To Line | ||
| ''' | | '''CTRL + L''' | ||
|} | |} | ||
==Build shortcuts== | == Build shortcuts == | ||
{| class=" | {| class="wikitable" | ||
| Build All | |Build All | ||
| ''' | |'''CTRL + SHIFT + B''' | ||
|- | |- | ||
| Build Project | |Build Project | ||
| ''' | |'''CTRL + B''' | ||
|- | |- | ||
| Run | |Run | ||
| ''' | |'''CTRL + R''' | ||
|- | |- | ||
| Open Build/Run Target Selector | |Open Build/Run Target Selector | ||
| ''' | |'''CTRL + T''' | ||
|} | |} | ||
==Debug shortcuts== | == Debug shortcuts == | ||
{| class=" | {| class="wikitable" | ||
| Start Debugging | |Start Debugging | ||
| '''F5''' | |'''F5''' | ||
|- | |- | ||
| Stop Debugging | |Stop Debugging | ||
| ''' | |'''SHIFT + F5''' | ||
|- | |- | ||
| Step Over | |Step Over | ||
| '''F10''' | |'''F10''' | ||
|- | |- | ||
| Step Into | |Step Into | ||
| '''F11''' | |'''F11''' | ||
|- | |- | ||
| Step Out | |Step Out | ||
| ''' | |'''SHIFT + F11''' | ||
|- | |- | ||
| Reverse Direction | |Reverse Direction | ||
| '''F12''' | |'''F12''' | ||
|- | |- | ||
| Snapshot | |Snapshot | ||
| ''' | |'''ALT + D, ALT + S''' | ||
|- | |- | ||
| Toggle Breakpoint | |Toggle Breakpoint | ||
| '''F9''' | |'''F9''' | ||
|} | |} | ||
==Tools shortcuts== | == Tools shortcuts == | ||
{| class=" | {| class="wikitable" | ||
| Locate | |Locate | ||
| ''' | |'''CTRL + K''' | ||
|- | |- | ||
| Toggle Bookmarks | |Toggle Bookmarks | ||
| ''' | |'''CTRL + M''' | ||
|- | |- | ||
| Previous Bookmark | |Previous Bookmark | ||
| | |'''CTRL + , ''' | ||
|- | |- | ||
| Next Bookmark | |Next Bookmark | ||
| | |'''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 |