0% found this document useful (0 votes)
131 views3 pages

Code::Blocks 17.12 Shortcut Guide

The document provides a list of keyboard shortcuts for the Code::Blocks IDE organized by their function. Some of the key shortcuts include Ctrl+Z for undo, Ctrl+X for cut, Ctrl+C for copy, Ctrl+V for paste, F11 to swap header and source files, Ctrl+Space for autocomplete, Ctrl+N for new file, Ctrl+O for open file, Ctrl+S for save, F9 for build, F8 for debug, and Ctrl+F for find. The shortcuts allow for navigation of files, editing of code, building, debugging and other core IDE functions.

Uploaded by

Muhammad Wasay
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
131 views3 pages

Code::Blocks 17.12 Shortcut Guide

The document provides a list of keyboard shortcuts for the Code::Blocks IDE organized by their function. Some of the key shortcuts include Ctrl+Z for undo, Ctrl+X for cut, Ctrl+C for copy, Ctrl+V for paste, F11 to swap header and source files, Ctrl+Space for autocomplete, Ctrl+N for new file, Ctrl+O for open file, Ctrl+S for save, F9 for build, F8 for debug, and Ctrl+F for find. The shortcuts allow for navigation of files, editing of code, building, debugging and other core IDE functions.

Uploaded by

Muhammad Wasay
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Page 1 of 3

Code::Blocks 17.12 cheat sheet


line.
Editor
Ctrl + End Go to end of document.
Ctrl + Z Undo last action
Ctrl + Shift + End Extend selection to end of
Ctrl + Shift + Z Redo last action document.
Ctrl + X Cut selected text Alt + End Go to end of display line.
Ctrl + C Copy selected text Shift + Alt + End Extend selection to end of display
Ctrl + V Paste text from clipboard line.

Ctrl + A Select all text Ctrl + Num * Expand or contract a fold point.

F11 Swap header / source Ctrl + F2 Create or delete a bookmark.

Ctrl + Shift + C Comment highlighted code F2 Go to next bookmark.

Ctrl + Shift + X Uncomment highlighted code Alt + F2 Select to next bookmark.

Ctrl + D Duplicate line caret is on Ctrl + F3 Find selection.

Ctrl + Space or Auto-complete / Abbreviations Ctrl + Shift + F3 Find selection backwards.


Ctrl + J Ctrl + Up arrow Scroll up.
Ctrl + Shift + Show call tip Ctrl + Down arrow Scroll down.
Space
Ctrl + L Line cut.
Ctrl + T Swap line caret is on with line
Ctrl + Shift + T Line copy.
above it
Ctrl + Shift + L Line delete.
Ctrl + B Toggle bookmark
Ctrl + T Line transpose with previous.
Alt + Page Up Go to previous bookmark
Ctrl + D Line duplicate.
Alt + Page Down Go to next bookmark
Ctrl + K Find matching preprocessor
F12 Toggle current block folding
conditional, skipping nested ones.
Shift + F12 Toggle all folds
Ctrl + Shift + K Select to matching preprocessor
This is a list of shortcuts provided by the Code::Blocks' conditional.
editor component and cannot be reassigned.
Ctrl + J Find matching preprocessor
Ctrl + Num + Magnify text size. conditional backwards, skipping
Ctrl + Num - Reduce text size. nested ones.

Ctrl + Num / Restore text size to normal. Ctrl + Shift + J Select to matching preprocessor
conditional backwards.
Ctrl + Tab Cycle through recent files.
Ctrl + [ Previous paragraph. Shift extends
Tab Indent block.
selection.
Shift + Tab Dedent block.
Ctrl + ] Next paragraph. Shift extends
Ctrl + Backspace Delete to start of word. selection.
Ctrl + Del Delete to end of word. Ctrl + Left arrow Previous word. Shift extends
Ctrl + Shift + Delete to start of line. selection.
Backspace Ctrl + Right arrow Next word. Shift extends selection.
Ctrl + Shift + Del Delete to end of line. Ctrl + / Previous word part. Shift extends
Ctrl + Home Go to start of document. selection.
Ctrl + Shift + Extend selection to start of Ctrl + \ Next word part. Shift extends
Home document. selection.
Alt + Home Go to start of display line.
Shift + Alt + Home Extend selection to start of display Files
Page 2 of 3

Ctrl + N New file or project Ctrl + . Go to implementation


Ctrl + O Open existing file or project Alt + Ctrl + . Open include file
Ctrl + S Save current file
Ctrl + Shift + S Save all files Build
Ctrl + F4 / Ctrl + W Close current file Ctrl + F9 Build
Ctrl + Shift + F4 or Close all files Ctrl + Shift + F9 Compile current file
Ctrl + Shift + W
Ctrl + F10 Run
These are shortcuts provided by the Code::Blocks' tab
F9 Build and Run
component and cannot be reassigned.
Ctrl + F11 Rebuild
Ctrl + Tab Activate next open file
Ctrl + Shift + Tab Activate previous open file
Debug
View F8 Debug
Ctrl + F7 Continue debugging
F2 Show / hide Messages pane
F7 Step over a code block
Shift + F2 Show / hide Management pane
Shift + F7 Step into a code block
Ctrl + Shift + Up Move project up (in Project tree)
arrow Ctrl + Shift + F7 Step out of a code block

Ctrl + Shift + Move project down (in Project tree) F5 Toggle breakpoint
Down arrow F4 Run to cursor
Alt + F5 Activate prior (in Project tree) Alt + F1 Previous error
Alt + F6 Activate next (in Project tree) Alt + F2 Next error
Ctrl + Wheel up Zoom in / out
and wheel down File menu
Ctrl + Alt + E Focus editor
Ctrl + Shift + N New empty file
Ctrl + O Open file
Search
Ctrl + S Save file
Ctrl + F Find Ctrl + Shift + S Save everything
F3 Find next Ctrl + W Close file
Shift + F3 Find previous Ctrl + Shift + W Close all files
Ctrl + Shift + F Find in files Ctrl + P Print
Ctrl + R Replace Ctrl + Q Exit
Ctrl + Shift + R Replace in files
Ctrl + G Go to line Misc
Ctrl + F3 Go to next changed line
Shift + F2 Management pane
Ctrl + Shift + F3 Go to previous changed line
F2 Log pane
Alt + G Go to file
Ctrl + Tab Switch between tabs
Ctrl + Alt + G Go to function
Shift + Alt + Space Show tooltip
Ctrl + Page Up Go to previous function
Ctrl + N Next call tip
Ctrl + Page Down Go to next function
Ctrl + P Previous call tip
Ctrl + Shift + . Go to declaration
Page 3 of 3

Last modification: 1/16/2021 9:05:16 AM

More information: [Link]/code-blocks-shortcuts

Customize this PDF...

Common questions

Powered by AI

To find a function's implementation, use the Ctrl + . shortcut, and for the declaration, use the Ctrl + Shift + . shortcut . This process helps developers quickly locate and differentiate between where a function is defined and where it is declared in the code, facilitating efficient code tracing and debugging.

The shortcut to go to the next bookmark is Alt + Page Down . This utility is particularly useful in large codebases as it allows developers to quickly navigate to important sections of the code marked as bookmarks, enhancing productivity by minimizing the time spent scrolling or searching.

The Ctrl + Tab shortcut is used to cycle through recently opened files . This feature is significant as it enhances workflow efficiency by allowing rapid navigation between files without manually searching for them, thereby saving time during code development.

The Management pane can be shown or hidden using Shift + F2 . This pane plays a crucial role in project organization, providing a structured view of the project’s components, resource files, and settings, thus enabling developers to manage and navigate large projects more effectively.

To step over a code block, use F7; to step into, use Shift + F7; and to step out, use Ctrl + Shift + F7 . These options are important because they allow developers fine-grained control over code execution during debugging, enabling them to examine execution flow in detail and isolate issues at a granular level.

The shortcut to close all open files is Ctrl + Shift + F4 or Ctrl + Shift + W . This feature can be particularly useful when a developer needs to quickly close all files to start a fresh project or troubleshoot issues related to open file resources.

The shortcut to toggle the visibility of all folds in a document is Shift + F12 .

A user can toggle a breakpoint using the F5 shortcut . Breakpoints are vital in software development as they allow the programmer to halt execution at specific points, facilitating the examination of code behavior, variable values, and program control flow, which is critical for debugging complex software.

The Ctrl + Shift + Space shortcut shows the call tip, which presents information about function parameters when writing code. This assists developers by providing immediate access to function details without needing to reference documentation separately .

A user can quickly duplicate a line of code by using the shortcut Ctrl + D .

You might also like