Keyboard Shortcuts - CodeBlocks
Keyboard Shortcuts - CodeBlocks
Keyboard Shortcuts
From CodeBlocks
Note: You can define your own keyboard shortcuts with the Keyboard Shortcuts plugin
Contents
1 Editor 2 Files 3 View 4 Search 5 Build 6 Debug
Editor
Function Undo last action Redo last action Cut selected text Copy selected text Paste text from clipboard Select all text Swap header / source Comment highlighted code Uncomment highlighted code Duplicate line caret is on Auto-complete / Abbreviations Show call tip Toggle bookmark Goto previous bookmark
wiki.codeblocks.org/index.php?title=Keyboard_Shortcuts
Shortcut Key Ctrl + Z Ctrl + Shift + Z Ctrl + X Ctrl + C Ctrl + V Ctrl + A F11 Ctrl + Shift + C Ctrl + Shift + X Ctrl + D Ctrl + Space / Ctrl + J Ctrl + Shift + Space Ctrl + B Alt + PgUp
1/5
31/10/2013
Goto next bookmark Toggle current block folding Toggle all folds
This is a list of shortcuts provided by the Code::Blocks' editor component. These shortcuts cannot be rebound. Function Magnify text size. Reduce text size. Restore text size to normal. Cycle through recent files. Indent block. Dedent block. Delete to start of word. Delete to end of word. Delete to start of line. Delete to end of line. Go to start of document. Extend selection to start of document. Go to start of display line. Extend selection to start of display line. Go to end of document. Extend selection to end of document. Go to end of display line. Extend selection to end of display line. Expand or contract a fold point. Create or delete a bookmark. Go to next bookmark. Select to next bookmark. Find selection. Find selection backwards. Scroll up. Scroll down. Line cut.
wiki.codeblocks.org/index.php?title=Keyboard_Shortcuts
Shortcut Key Ctrl + Keypad "+" Ctrl + Keypad "-" Ctrl + Keypad "/" Ctrl + Tab Tab Shift + Tab Ctrl + BackSpace Ctrl + Delete Ctrl + Shift + BackSpace Ctrl + Shift + Delete Ctrl + Home Ctrl + Shift + Home Alt + Home Alt + Shift + Home Ctrl + End Ctrl + Shift + End Alt + End Alt + Shift + End Ctrl + Keypad "*" Ctrl + F2 F2 Alt + F2 Ctrl + F3 Ctrl + Shift + F3 Ctrl + Up Ctrl + Down Ctrl + L
2/5
31/10/2013
Line copy. Line delete. Line transpose with previous. Line duplicate. Find matching preprocessor conditional, skipping nested ones. Select to matching preprocessor conditional. Select to matching preprocessor conditional backwards. Previous paragraph. Shift extends selection. Next paragraph. Shift extends selection. Previous word. Shift extends selection. Next word. Shift extends selection. Previous word part. Shift extends selection. Next word part. Shift extends selection.
Ctrl + Shift + T Ctrl + Shift + L Ctrl + T Ctrl + D Ctrl + K Ctrl + Shift + K Ctrl + Shift + J Ctrl + [ Ctrl + ] Ctrl + Left Ctrl + Right Ctrl + / Ctrl + \
Files
Function New file or project Save current file Save all files Close current file Close all files Ctrl + N Ctrl + S Ctrl + Shift + S Ctrl + F4 / Ctrl + W Ctrl + Shift + F4 / Ctrl + Shift + W Open existing file or project Ctrl + O Shortcut Key
This is a list of shortcuts provided by the Code::Blocks' tab component. These shortcuts cannot be rebound. Function Activate next open file Shortcut Key Ctrl + Tab
View
Function
wiki.codeblocks.org/index.php?title=Keyboard_Shortcuts
Shortcut Key
3/5
31/10/2013
Show / hide Messages pane Show / hide Management pane Move project up (in Project tree) Activate prior (in Project tree) Activate next (in Project tree) Zoom in / out Focus editor
F2 Shift + F2 Ctrl + Shift + Up Alt + F5 Alt + F6 Ctrl + Roll Mouse Wheel CTRL + Alt + E
Search
Function Find Find next Find previous Find in files Replace Replace in files Goto line Goto next changed line Goto file Goto function Goto previous function Goto next function Goto declaration Goto implementation Open include file Shortcut Key Ctrl + F F3 Shift + F3 Crtl + Shift + F Ctrl + R Ctrl + Shift + R Ctrl + G Ctrl + F3 Alt + G Ctrl + Alt + G Ctrl + PgUp Ctrl + PgDn Ctrl + Shift + . Ctrl + . Ctrl + Alt + .
Build
Function Build Shortcut Key Ctrl + F9
4/5
wiki.codeblocks.org/index.php?title=Keyboard_Shortcuts
31/10/2013
Compile current file Ctrl + Shift + F9 Run Build and Run Rebuild Ctrl + F10 F9 Ctrl + F11
Debug
Function Debug Continue debugging Step into a code block Toggle breakpoint Run to cursor Previous error Next error Shortcut Key F8 Ctrl + F7 Shift + F7 F5 F4 Alt + F1 Alt + F2
Step over a code block F7 Step out of a code block Ctrl + Shift + F7
Retrieved from "http://wiki.codeblocks.org/index.php?title=Keyboard_Shortcuts" Category: User Documentation This page was last modified on 3 January 2009, at 01:03.
wiki.codeblocks.org/index.php?title=Keyboard_Shortcuts
5/5