![]() |
Home · Editor · Code Navigation · Shortcuts · Wiki |
[Previous: Tips and Tricks] [Qt Creator Manual] [Next: Glossary]
Qt Creator provides various keyboard shortcuts to aid in the development process. These shortcuts are listed in the table below:
| Function | Key Combination |
|---|---|
| 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 |
| Find | Ctrl + F |
| Find next | F3 |
| Go back to the code editor (Edit mode: The first press gives the editor focus, without closing secondary windows; the second press closes all secondary windows. Debug mode or Help mode: Switch to Edit mode.) | Esc |
| Go to a line | Ctrl + L |
| Navigate between pages | Alt + Left, Alt + Right |
| Start debugging | F5 |
| Stop debugging | Shift + F5 |
| Toggle code declaration and definition | F2 |
| Toggle header file and source file | F4 |
| Toggle Sidebar | Alt + 0 / Cmd + 0 |
| Toggle Build Issues pane | Alt + 1 / Cmd + 1 |
| Toggle Search Results pane | Alt + 2 / Cmd + 2 |
| Toggle Application Output pane | Alt + 3 / Cmd + 3 |
| Toggle Compile Output pane | Alt + 4 / Cmd + 4 |
The table below lists keyboard shortcuts supported by the code editor.
| Block navigation | To navigate between blocks, e.g., from one { to another }, press Ctrl+[ and Ctrl+]. |
| Block selection | To select the current block, press Ctrl+U. Pressing Ctrl+U again extends the selection to the parent block. To deselect, press Ctrl+Shift+U. |
| Moving lines up and down | Press Ctrl+Shift+Up and Ctrl+Shift+Down |
| Completion | Press Ctrl+Space |
| Indenting Blocks | Press Ctrl+I |
| Collapse | Press Ctrl+< |
| Commenting or uncommenting blocks | Press Ctrl+/ |
| Delete a line | Press Shift+Del |
| Switch between header file and source file | Press F4. |
| Increasing and decreasing font size | Press Ctrl+Scroll Wheel |
| Follow symbols under the cursor | Press F2 and Shift+F2. This feature works with namespaces, classes, methods, variables, include statements, and macros. |
[Previous: Tips and Tricks] [Qt Creator Manual] [Next: Glossary]
| Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Creator 1.3.0 |