Keyboard Shortcuts
From Code::Blocks
Code::Blocks Shortcut Keys
This list is not complete ? If you know more, please do add them.
Function | Shortcut Key |
---|---|
Show/hide messages pane | F2 |
Show/hide project pane | Shift + F2 |
Focus editor | CTRL + Alt + E |
Swap header/source | F11 |
Duplicate line caret is on | CTRL + D |
Auto-complete | CTRL + J / CTRL + Space |
Show call tip | CTRL + Shift + Space |
Delete line caret is on | CTRL + L |
Swap line caret is on with line above it | CTRL + T |
Close file currently active in editor | CTRL + W |
Close current open file | CTRL + F4 |
Close all open files | CTRL + Shift + F4 |
Comment highlighted code | CTRL + Shift + C |
Uncomment highlighted code | CTRL + Shift + X |
Zoom in/out on editor | CTRL + Roll Mouse Wheel |
Toggle to next file in editor | CTRL + Tab |
Toggle to previous file in editor | CTRL + Shift + Tab |
File / New File | CTRL + N |
File / New Project | CTRL + Shift + N |
File / Open | CTRL + O |
File / Save | CTRL + S |
File / Save all files | CTRL + Shift + S |
File / Close | CTRL + W |
File / Close all | CTRL + Shift + W |
File / Quit | CTRL + Q |
Edit / Undo | CTRL + Z |
Edit / Redo | CTRL + Shift + Z |
Edit / Cut | CTRL + X |
Edit / Copy | CTRL + C |
Edit / Paste | CTRL + V |
Edit / Select all | CTRL + A |
Toggle bookmark | CTRL + B |
Goto previous bookmark | Alt + PgUp |
Goto next bookmark | Alt + PgDown |
Toggle current block folding | F12 |
Toggle all folds | Shift + F12 |
Search / Find | CTRL + F |
Search / Find next | F3 |
Search / Find previous | Shift + F3 |
Search / Replace | CTRL + R |
Goto line | CTRL + G |
Goto file | Alt + G |
Goto function | CTRL + Alt + G |
Project tree / Move project up | CTRL + Shift + Up |
Project tree / Move project down | CTRL + Shift + Down |
Project tree / Activate prior | Alt + F5 |
Project tree / Activate next | Alt + F6 |
Build | CTRL + F9 |
Build / Compile current file | CTRL + Shift + F9 |
Run | CTRL + F10 |
Build & Run | F9 |
Rebuild | CTRL + F11 |
Previous error | Alt + F1 |
Next error | Alt + F2 |
Debug | F8 |
Debug / Continue | CTRL + F7 |
Debug / Step over | F7 |
Debug / Step into | Shift + F7 |
Debug / Step out | CTRL + Shift + F7 |
Debug / Toggle breakpoint | F5 |
Run to cursor | F4 |