Difference between revisions of "Keyboard Shortcuts"
From Code::Blocks
Sethjackson (talk | contribs) |
Sethjackson (talk | contribs) |
||
Line 23: | Line 23: | ||
|- | |- | ||
− | | Duplicate line caret is on || | + | | Duplicate line caret is on || Ctrl + D |
|- | |- | ||
|- | |- | ||
− | | Auto-complete || | + | | Auto-complete || Ctrl + J / Ctrl + Space |
|- | |- | ||
|- | |- | ||
− | | Show call tip || | + | | Show call tip || Ctrl + Shift + Space |
|- | |- | ||
|- | |- | ||
− | | Delete line caret is on || | + | | Delete line caret is on || Ctrl + L |
|- | |- | ||
|- | |- | ||
− | | Swap line caret is on with line above it || | + | | Swap line caret is on with line above it || Ctrl + T |
|- | |- | ||
|- | |- | ||
− | | Close file currently active in editor || | + | | Close file currently active in editor || Ctrl + W |
|- | |- | ||
|- | |- | ||
− | | Close current open file || | + | | Close current open file || Ctrl + F4 |
|- | |- | ||
|- | |- | ||
− | | Close all open files || | + | | Close all open files || Ctrl + Shift + F4 |
|- | |- | ||
|- | |- | ||
− | | Comment highlighted code || | + | | Comment highlighted code || Ctrl + Shift + C |
|- | |- | ||
|- | |- | ||
− | | Uncomment highlighted code || | + | | Uncomment highlighted code || Ctrl + Shift + X |
|- | |- | ||
|- | |- | ||
− | | Zoom in/out on editor || | + | | Zoom in/out on editor || Ctrl + Roll Mouse Wheel |
|- | |- | ||
|- | |- | ||
− | | Toggle to next file in editor || | + | | Toggle to next file in editor || Ctrl + Tab |
|- | |- | ||
|- | |- | ||
− | | Toggle to previous file in editor || | + | | Toggle to previous file in editor || Ctrl + Shift + Tab |
|- | |- | ||
|- | |- | ||
− | | File / New File || | + | | File / New File || Ctrl + N |
|- | |- | ||
|- | |- | ||
− | | File / New Project || | + | | File / New Project || Ctrl + Shift + N |
|- | |- | ||
|- | |- | ||
− | | File / Open || | + | | File / Open || Ctrl + O |
|- | |- | ||
|- | |- | ||
− | | File / Save || | + | | File / Save || Ctrl + S |
|- | |- | ||
|- | |- | ||
− | | File / Save all files || | + | | File / Save all files || Ctrl + Shift + S |
|- | |- | ||
|- | |- | ||
− | | File / Close || | + | | File / Close || Ctrl + W |
|- | |- | ||
|- | |- | ||
− | | File / Close all || | + | | File / Close all || Ctrl + Shift + W |
|- | |- | ||
|- | |- | ||
− | | File / Quit || | + | | File / Quit || Ctrl + Q |
|- | |- | ||
|- | |- | ||
− | | Edit / Undo || | + | | Edit / Undo || Ctrl + Z |
|- | |- | ||
|- | |- | ||
− | | Edit / Redo || | + | | Edit / Redo || Ctrl + Shift + Z |
|- | |- | ||
|- | |- | ||
− | | Edit / Cut || | + | | Edit / Cut || Ctrl + X |
|- | |- | ||
|- | |- | ||
− | | Edit / Copy || | + | | Edit / Copy || Ctrl + C |
|- | |- | ||
|- | |- | ||
− | | Edit / Paste || | + | | Edit / Paste || Ctrl + V |
|- | |- | ||
|- | |- | ||
− | | Edit / Select all || | + | | Edit / Select all || Ctrl + A |
|- | |- | ||
|- | |- | ||
− | | Toggle bookmark || | + | | Toggle bookmark || Ctrl + B |
|- | |- | ||
Line 163: | Line 163: | ||
|- | |- | ||
− | | Search / Replace || | + | | Search / Replace || Ctrl + R |
|- | |- | ||
|- | |- | ||
− | | Goto line || | + | | Goto line || Ctrl + G |
|- | |- | ||
Line 175: | Line 175: | ||
|- | |- | ||
− | | Goto function || | + | | Goto function || Ctrl + Alt + G |
|- | |- | ||
|- | |- | ||
− | | Project tree / Move project up || | + | | Project tree / Move project up || Ctrl + Shift + Up |
|- | |- | ||
|- | |- | ||
− | | Project tree / Move project down || | + | | Project tree / Move project down || Ctrl + Shift + Down |
|- | |- | ||
Line 195: | Line 195: | ||
|- | |- | ||
− | | Build || | + | | Build || Ctrl + F9 |
|- | |- | ||
|- | |- | ||
− | | Build / Compile current file || | + | | Build / Compile current file || Ctrl + Shift + F9 |
|- | |- | ||
|- | |- | ||
− | | Run || | + | | Run || Ctrl + F10 |
|- | |- | ||
Line 211: | Line 211: | ||
|- | |- | ||
− | | Rebuild || | + | | Rebuild || Ctrl + F11 |
|- | |- | ||
Line 227: | Line 227: | ||
|- | |- | ||
− | | Debug / Continue || | + | | Debug / Continue || Ctrl + F7 |
|- | |- | ||
Line 239: | Line 239: | ||
|- | |- | ||
− | | Debug / Step out || | + | | 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 15: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 + \ |