===================================== Code::Blocks 17.12 keyboard shortcuts ===================================== First published at 9/11/2019 on https://defkey.com/code-blocks-shortcuts Code::Blocks is a open-source Integrated Development Environment that supports multiple compilers. It supports compilers including GCC, MingGW, Visual C++, Borland C++, Clang and more. The IDE has features such as syntax highlighting, code folding, and personalized syntax highlighting colors. Code::Blocks 17.12 has 121 shortcuts and we have listed all of them below. Editor ------ Ctrl + Z Undo last action Ctrl + Shift + Z Redo last action Ctrl + X Cut selected text Ctrl + C Copy selected text Ctrl + V Paste text from clipboard Ctrl + A Select all text F11 Swap header / source Ctrl + Shift + C Comment highlighted code Ctrl + Shift + X Uncomment highlighted code Ctrl + D Duplicate line caret is on Ctrl + Space Auto-complete / Abbreviations Ctrl + J Auto-complete / Abbreviations Ctrl + Shift + Space Show call tip Ctrl + T Swap line caret is on with line above it Ctrl + B Toggle bookmark Alt + Page Up Go to previous bookmark Alt + Page Down Go to next bookmark F12 Toggle current block folding Shift + F12 Toggle all folds This is a list of shortcuts provided by the Code::Blocks' editor component and cannot be reassigned. Ctrl + Num + Magnify text size. Ctrl + Num - Reduce text size. Ctrl + Num / Restore text size to normal. Ctrl + Tab Cycle through recent files. Tab Indent block. Shift + Tab Dedent block. Ctrl + Backspace Delete to start of word. Ctrl + Del Delete to end of word. Ctrl + Shift + Backspace Delete to start of line. Ctrl + Shift + Del Delete to end of line. Ctrl + Home Go to start of document. Ctrl + Shift + Home Extend selection to start of document. Alt + Home Go to start of display line. Shift + Alt + Home Extend selection to start of display line. Ctrl + End Go to end of document. Ctrl + Shift + End Extend selection to end of document. Alt + End Go to end of display line. Shift + Alt + End Extend selection to end of display line. Ctrl + Num * Expand or contract a fold point. Ctrl + F2 Create or delete a bookmark. F2 Go to next bookmark. Alt + F2 Select to next bookmark. Ctrl + F3 Find selection. Ctrl + Shift + F3 Find selection backwards. Ctrl + Up arrow Scroll up. Ctrl + Down arrow Scroll down. Ctrl + L Line cut. Ctrl + Shift + T Line copy. Ctrl + Shift + L Line delete. Ctrl + T Line transpose with previous. Ctrl + D Line duplicate. Ctrl + K Find matching preprocessor conditional, skipping nested ones. Ctrl + Shift + K Select to matching preprocessor conditional. Ctrl + J Find matching preprocessor conditional backwards, skipping nested ones. Ctrl + Shift + J Select to matching preprocessor conditional backwards. Ctrl + [ Previous paragraph. Shift extends selection. Ctrl + ] Next paragraph. Shift extends selection. Ctrl + Left arrow Previous word. Shift extends selection. Ctrl + Right arrow Next word. Shift extends selection. Ctrl + / Previous word part. Shift extends selection. Ctrl + \ Next word part. Shift extends selection. Files ----- Ctrl + N New file or project Ctrl + O Open existing file or project Ctrl + S Save current file Ctrl + Shift + S Save all files Ctrl + F4 / Ctrl + W Close current file Ctrl + Shift + F4 Close all files Ctrl + Shift + W Close all files These are shortcuts provided by the Code::Blocks' tab component and cannot be reassigned. Ctrl + Tab Activate next open file Ctrl + Shift + Tab Activate previous open file View ---- F2 Show / hide Messages pane Shift + F2 Show / hide Management pane Ctrl + Shift + Up arrow Move project up (in Project tree) Ctrl + Shift + Down arrow Move project down (in Project tree) Alt + F5 Activate prior (in Project tree) Alt + F6 Activate next (in Project tree) Ctrl + Wheel up and wheel down Zoom in / out Ctrl + Alt + E Focus editor Search ------ Ctrl + F Find F3 Find next Shift + F3 Find previous Ctrl + Shift + F Find in files Ctrl + R Replace Ctrl + Shift + R Replace in files Ctrl + G Go to line Ctrl + F3 Go to next changed line Ctrl + Shift + F3 Go to previous changed line Alt + G Go to file Ctrl + Alt + G Go to function Ctrl + Page Up Go to previous function Ctrl + Page Down Go to next function Ctrl + Shift + . Go to declaration Ctrl + . Go to implementation Alt + Ctrl + . Open include file Build ----- Ctrl + F9 Build Ctrl + Shift + F9 Compile current file Ctrl + F10 Run F9 Build and Run Ctrl + F11 Rebuild Debug ----- F8 Debug Ctrl + F7 Continue debugging F7 Step over a code block Shift + F7 Step into a code block Ctrl + Shift + F7 Step out of a code block F5 Toggle breakpoint F4 Run to cursor Alt + F1 Previous error Alt + F2 Next error File menu --------- Ctrl + Shift + N New empty file Ctrl + O Open file Ctrl + S Save file Ctrl + Shift + S Save everything Ctrl + W Close file Ctrl + Shift + W Close all files Ctrl + P Print Ctrl + Q Exit Misc ---- Shift + F2 Management pane F2 Log pane Ctrl + Tab Switch between tabs Shift + Alt + Space Show tooltip Ctrl + N Next call tip Ctrl + P Previous call tip Last modified on(UTC): Saturday, January 16, 2021 Defkey © All rights reserved.