Qt Creator快捷键
功能 | 快捷键 |
---|---|
激活编辑模式 | CTRL + 2 |
激活调试(Debug)模式 | CTRL + 3 |
激活(Projects)模式 | CTRL + 4 |
激活 Help 模式 | CTRL + 5 |
激活 Output 模式 | CTRL + 6 |
返回 Edit 模式 | ESCAPE |
切换当前模式 | 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 |
仿真调试
功能 | 快捷键 |
---|---|
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 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 |