Code::Blocks Keyboard Shortcuts PDF Download

Code::Blocks is a great IDE for c programming. You can use this IDE for C, C++, Arduino program, and many other things. The keyboard shortcuts can save your time and you can finish your project fast using it.

Code::Blocks Keyboard Shortcuts

The keyboard shortcut for basic code editing

FunctionShortcut Key
Undo the last actionCtrl + Z
Redo the last actionCtrl + Shift + Z
Cut selected textCtrl + X
Copy selected textCtrl + C
Paste text from clipboardCtrl + V
Select all textCtrl + A
Swap header/sourceF11
Comment highlighted codeCtrl + Shift + C
Uncomment highlighted codeCtrl + Shift + X
Duplicate line caret is onCtrl + D
Auto-complete / AbbreviationsCtrl + Space / Ctrl + J
Show call tipCtrl + Shift + Space
Swap line caret is on with line above itCtrl + T
Toggle bookmarkCtrl + B
Goto previous bookmarkAlt + PgUp
Goto next bookmarkAlt + PgDown
Toggle current block foldingF12
Toggle all foldsShift + F12

Basic editor settings

FunctionShortcut Key
Magnify text size.Ctrl + Keypad "+"
Reduce text size.Ctrl + Keypad "-"
Restore text size to normal.Ctrl + Keypad "/"
Cycle through recent files.Ctrl + Tab
Indent block.Tab
Dedent block.Shift + Tab
Delete to start of a word.Ctrl + BackSpace
Delete to the end of the word.Ctrl + Delete
Delete to the start of the line.Ctrl + Shift + BackSpace
Delete to the end of the line.Ctrl + Shift + Delete
Go to the start of the document.Ctrl + Home
Extend selection to start the document.Ctrl + Shift + Home
Go to the start of the display line.Alt + Home
Extend selection to the start of the display line.Alt + Shift + Home
Go to the end of the document.Ctrl + End
Extend selection to the end of the document.Ctrl + Shift + End
Go to the end of the display line.Alt + End
Extend selection to the end of the display line.Alt + Shift + End
Expand or contract a fold point.Ctrl + Keypad "*"
Create or delete a bookmark.Ctrl + F2
Go to the next bookmark.F2
Select to next bookmark.Alt + F2
Find selection.Ctrl + F3
Find selection backward.Ctrl + Shift + F3
Scroll up.Ctrl + Up
Scroll down.Ctrl + Down
Line-cut.Ctrl + L
Line copy.Ctrl + Shift + T
Line delete.Ctrl + Shift + L
Line transpose with previous.Ctrl + T
Line duplicate.Ctrl + D
Find matching preprocessor conditional, skipping nested ones.Ctrl + K
Select to matching preprocessor conditional.Ctrl + Shift + K
Find matching preprocessor conditional backward, skipping nested ones.Ctrl + J
Select to matching preprocessor conditional backward.Ctrl + Shift + J
Previous paragraph. Shift extends selection.Ctrl + [
Next paragraph. Shift extends selection.Ctrl + ]
Previous word. Shift extends the selection.Ctrl + Left
Next word. Shift extends the selection.Ctrl + Right
Previous word part. Shift extends the selection.Ctrl + /
Next word part. Shift extends selection.Ctrl + \

Keyboard shortcuts for file

FunctionShortcut Key
New file or projectCtrl + N
Open existing file or projectCtrl + O
Save current fileCtrl + S
Save all filesCtrl + Shift + S
Close current fileCtrl + F4 / Ctrl + W
Close all filesCtrl + Shift + F4 / Ctrl + Shift + W

The keyboard shortcut for basic view options

FunctionShortcut Key
Show / hide Messages paneF2
Show / hide Management paneShift + F2
Move project up (in Project tree)Ctrl + Shift + Up
Move project down (in Project tree)Ctrl + Shift + Down
Activate prior (in Project tree)Alt + F5
Activate next (in Project tree)Alt + F6
Zoom in / outCtrl + Roll Mouse Wheel
Focus editorCTRL + Alt + E

Keyboard shortcuts for search

FunctionShortcut Key
FindCtrl + F
Find nextF3
Find previousShift + F3
Find in filesCtrl + Shift + F
ReplaceCtrl + R
Replace in filesCtrl + Shift + R
Goto lineCtrl + G
Goto next changed lineCtrl + F3
Goto previous changed lineCtrl + Shift + F3
Goto fileAlt + G
Goto functionCtrl + Alt + G
Goto previous functionCtrl + PgUp
Goto next functionCtrl + PgDn
Goto declarationCtrl + Shift + .
Goto implementationCtrl + .
Open include fileCtrl + Alt + .

Keyboard shortcuts for build

FunctionShortcut Key
BuildCtrl + F9
Compile current fileCtrl + Shift + F9
RunCtrl + F10
Build and RunF9
RebuildCtrl + F11

Keyboard shortcuts for debug

FunctionShortcut Key
DebugF8
Continue debuggingCtrl + F7
Step over a code blockF7
Step into a code blockShift + F7
Step out of a code blockCtrl + Shift + F7
Toggle breakpointF5
Run to cursorF4
Previous errorAlt + F1
Next errorAlt + F2

All those keyboards shortcuts are officially listed by Code::Blocks. Here is the PDF of all those keyboard shortcuts. Download and print that document and stick it near your workspace. We have many articles about keyboard shortcuts of different IDE like VS Code and Android Studio.

Post a Comment (0)
Previous Post Next Post