Difference between revisions of "Keyboard Shortcuts"

From CodeBlocks
Jump to: navigation, search
Line 23: Line 23:
  
 
|-
 
|-
| Duplicate line caret is on || CTRL + D
+
| Duplicate line caret is on || Ctrl + D
 
|-
 
|-
  
 
|-
 
|-
| Auto-complete || CTRL + J / CTRL + Space
+
| Auto-complete || Ctrl + J / Ctrl + Space
 
|-
 
|-
  
 
|-
 
|-
| Show call tip || CTRL + Shift + Space
+
| Show call tip || Ctrl + Shift + Space
 
|-
 
|-
  
 
|-
 
|-
| Delete line caret is on || CTRL + L
+
| Delete line caret is on || Ctrl + L
 
|-
 
|-
  
 
|-
 
|-
| Swap line caret is on with line above it || CTRL + T
+
| Swap line caret is on with line above it || Ctrl + T
 
|-
 
|-
  
 
|-
 
|-
| Close file currently active in editor || CTRL + W
+
| Close file currently active in editor || Ctrl + W
 
|-
 
|-
  
 
|-
 
|-
| Close current open file || CTRL + F4
+
| Close current open file || Ctrl + F4
 
|-
 
|-
  
 
|-
 
|-
| Close all open files || CTRL + Shift + F4
+
| Close all open files || Ctrl + Shift + F4
 
|-
 
|-
  
 
|-
 
|-
| Comment highlighted code || CTRL + Shift + C
+
| Comment highlighted code || Ctrl + Shift + C
 
|-
 
|-
  
 
|-
 
|-
| Uncomment highlighted code || CTRL + Shift + X
+
| Uncomment highlighted code || Ctrl + Shift + X
 
|-
 
|-
  
 
|-
 
|-
| Zoom in/out on editor || CTRL + Roll Mouse Wheel
+
| Zoom in/out on editor || Ctrl + Roll Mouse Wheel
 
|-
 
|-
  
 
|-
 
|-
| Toggle to next file in editor || CTRL + Tab
+
| Toggle to next file in editor || Ctrl + Tab
 
|-
 
|-
  
 
|-
 
|-
| Toggle to previous file in editor || CTRL + Shift + Tab
+
| Toggle to previous file in editor || Ctrl + Shift + Tab
 
|-
 
|-
  
 
|-
 
|-
| File / New File || CTRL + N
+
| File / New File || Ctrl + N
 
|-
 
|-
  
 
|-
 
|-
| File / New Project || CTRL + Shift + N
+
| File / New Project || Ctrl + Shift + N
 
|-
 
|-
  
 
|-
 
|-
| File / Open || CTRL + O
+
| File / Open || Ctrl + O
 
|-
 
|-
  
 
|-
 
|-
| File / Save || CTRL + S
+
| File / Save || Ctrl + S
 
|-
 
|-
  
 
|-
 
|-
| File / Save all files || CTRL + Shift + S
+
| File / Save all files || Ctrl + Shift + S
 
|-
 
|-
  
 
|-
 
|-
| File / Close || CTRL + W
+
| File / Close || Ctrl + W
 
|-
 
|-
  
 
|-
 
|-
| File / Close all || CTRL + Shift + W
+
| File / Close all || Ctrl + Shift + W
 
|-
 
|-
  
 
|-
 
|-
| File / Quit || CTRL + Q
+
| File / Quit || Ctrl + Q
 
|-
 
|-
  
 
|-
 
|-
| Edit / Undo || CTRL + Z
+
| Edit / Undo || Ctrl + Z
 
|-
 
|-
  
 
|-
 
|-
| Edit / Redo || CTRL + Shift + Z
+
| Edit / Redo || Ctrl + Shift + Z
 
|-
 
|-
  
 
|-
 
|-
| Edit / Cut || CTRL + X
+
| Edit / Cut || Ctrl + X
 
|-
 
|-
  
 
|-
 
|-
| Edit / Copy || CTRL + C
+
| Edit / Copy || Ctrl + C
 
|-
 
|-
  
 
|-
 
|-
| Edit / Paste || CTRL + V
+
| Edit / Paste || Ctrl + V
 
|-
 
|-
  
 
|-
 
|-
| Edit / Select all || CTRL + A
+
| Edit / Select all || Ctrl + A
 
|-
 
|-
  
 
|-
 
|-
| Toggle bookmark || CTRL + B
+
| Toggle bookmark || Ctrl + B
 
|-
 
|-
  
Line 163: Line 163:
  
 
|-
 
|-
| Search / Replace || CTRL + R
+
| Search / Replace || Ctrl + R
 
|-
 
|-
  
 
|-
 
|-
| Goto line || CTRL + G
+
| Goto line || Ctrl + G
 
|-
 
|-
  
Line 175: Line 175:
  
 
|-
 
|-
| Goto function || CTRL + Alt + G
+
| Goto function || Ctrl + Alt + G
 
|-
 
|-
  
 
|-
 
|-
| Project tree / Move project up || CTRL + Shift + Up
+
| Project tree / Move project up || Ctrl + Shift + Up
 
|-
 
|-
  
 
|-
 
|-
| Project tree / Move project down || CTRL + Shift + Down
+
| Project tree / Move project down || Ctrl + Shift + Down
 
|-
 
|-
  
Line 195: Line 195:
  
 
|-
 
|-
| Build || CTRL + F9
+
| Build || Ctrl + F9
 
|-
 
|-
  
 
|-
 
|-
| Build / Compile current file || CTRL + Shift + F9
+
| Build / Compile current file || Ctrl + Shift + F9
 
|-
 
|-
  
 
|-
 
|-
| Run || CTRL + F10
+
| Run || Ctrl + F10
 
|-
 
|-
  
Line 211: Line 211:
  
 
|-
 
|-
| Rebuild || CTRL + F11
+
| Rebuild || Ctrl + F11
 
|-
 
|-
  
Line 227: Line 227:
  
 
|-
 
|-
| Debug / Continue || CTRL + F7
+
| Debug / Continue || Ctrl + F7
 
|-
 
|-
  
Line 239: Line 239:
  
 
|-
 
|-
| Debug / Step out || CTRL + Shift + F7
+
| Debug / Step out || Ctrl + Shift + F7
 
|-
 
|-
  
Line 248: Line 248:
 
|-
 
|-
 
| Run to cursor || F4
 
| Run to cursor || F4
 +
|-
 +
 +
|}
 +
 +
== Editor shortcut keys ==
 +
 +
This is a list of shortcuts used by the Code::Blocks editor (wxScintilla).
 +
 +
{| border="1" cellpadding="3" cellspacing="0"
 +
 +
|-
 +
!Function !!Shortcut 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 word. || Ctrl + BackSpace
 +
|-
 +
 +
|-
 +
|Delete to end of word. || Ctrl + Delete
 +
|-
 +
 +
|-
 +
|Delete to start of line. || Ctrl + Shift + BackSpace
 +
|-
 +
 +
|-
 +
|Delete to end of line. || Ctrl + Shift + Delete
 +
|-
 +
 +
|-
 +
|Go to start of document. || Ctrl + Home
 +
|-
 +
 +
|-
 +
|Extend selection to start of document. || Ctrl + Shift + Home
 +
|-
 +
 +
|-
 +
|Go to start of display line. || Alt + Home
 +
|-
 +
 +
|-
 +
|Extend selection to start of display line. || Alt + Shift + Home
 +
|-
 +
 +
|-
 +
|Go to end of document. || Ctrl + End
 +
|-
 +
 +
|-
 +
|Extend selection to end of document. || Ctrl + Shift + End
 +
|-
 +
 +
|-
 +
|Go to end of display line. || Alt + End
 +
|-
 +
 +
|-
 +
|Extend selection to end of display line. || Alt + Shift + End
 +
|-
 +
 +
|-
 +
|Expand or contract a fold point. || Ctrl + Keypad "*"
 +
|-
 +
 +
|-
 +
|Create or delete a bookmark. || Ctrl + F2
 +
|-
 +
 +
|-
 +
|Go to next bookmark. || F2
 +
|-
 +
 +
|-
 +
|Select to next bookmark. || Alt + F2
 +
|-
 +
 +
|-
 +
|Find selection. || Ctrl + F3
 +
|-
 +
 +
|-
 +
|Find selection backwards. || 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 backwards, skipping nested ones. || Ctrl + J
 +
|-
 +
 +
|-
 +
|Select to matching preprocessor conditional backwards. || Ctrl + Shift + J
 +
|-
 +
 +
|-
 +
|Previous paragraph. Shift extends selection. || Ctrl + [
 +
|-
 +
 +
|-
 +
|Next paragraph. Shift extends selection. || Ctrl + ]
 +
|-
 +
 +
|-
 +
|Previous word. Shift extends selection. || Ctrl + Left
 +
|-
 +
 +
|-
 +
|Next word. Shift extends selection. || Ctrl + Right
 +
|-
 +
 +
|-
 +
|Previous word part. Shift extends selection. || Ctrl + /
 +
|-
 +
 +
|-
 +
|Next word part. Shift extends selection. || Ctrl + \
 
|-
 
|-
  
 
|}
 
|}

Revision as of 17:02, 12 April 2006

Code::Blocks Shortcut Keys

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

Editor shortcut keys

This is a list of shortcuts used by the Code::Blocks editor (wxScintilla).

Function Shortcut 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 word. Ctrl + BackSpace
Delete to end of word. Ctrl + Delete
Delete to start of line. Ctrl + Shift + BackSpace
Delete to end of line. Ctrl + Shift + Delete
Go to start of document. Ctrl + Home
Extend selection to start of document. Ctrl + Shift + Home
Go to start of display line. Alt + Home
Extend selection to start of display line. Alt + Shift + Home
Go to end of document. Ctrl + End
Extend selection to end of document. Ctrl + Shift + End
Go to end of display line. Alt + End
Extend selection to end of display line. Alt + Shift + End
Expand or contract a fold point. Ctrl + Keypad "*"
Create or delete a bookmark. Ctrl + F2
Go to next bookmark. F2
Select to next bookmark. Alt + F2
Find selection. Ctrl + F3
Find selection backwards. 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 backwards, skipping nested ones. Ctrl + J
Select to matching preprocessor conditional backwards. Ctrl + Shift + J
Previous paragraph. Shift extends selection. Ctrl + [
Next paragraph. Shift extends selection. Ctrl + ]
Previous word. Shift extends selection. Ctrl + Left
Next word. Shift extends selection. Ctrl + Right
Previous word part. Shift extends selection. Ctrl + /
Next word part. Shift extends selection. Ctrl + \