Menu Close

Why Should We Chose Code::Block Compiler ?

Posted in C Programming

As a lightweight C/C++ IDE, Code::Blocks has the following features in addition to basic editing, compiling, and debugging capabilities:

  1. Free and open-source. Code::Blocks is a free open-source compiler that can be downloaded and used on any operating system without any cost.
  2. Ease of use. Code::Blocks provides an intuitive user interface that is easy to use, making programming easier and faster.
  3. Cross-platform and supports Windows, Linux, and Mac OS. There is no need to worry about changing devices in the future. It also supports multiple compilers, making it easy to switch between over 20 compilers, such as gcc/g++, Visual C++, Borland C++, and Intel C++, with simple configurations.
  4. Plugin-based framework. It has a plugin-based framework, which may be difficult for beginners to understand. In simple terms, it makes it easy to add various features.
  5. A workspace that combines multiple projects.
  6. Written in C++ and has a very simple runtime environment, no additional libraries are needed
  7. Updated Frequently and well-maintained. Updates and feature packages provided by enthusiastic community members almost every month.
  8. Debugging functionality. Code::Blocks provides a powerful debugger that helps programmers find and fix errors in their code. Full breakpoint support, for easier debugging.
  9. Syntax highlighting.

In summary, choosing the Code::Blocks compiler can improve programming efficiency and quality, making it an excellent choice for a compiler.

Code::Block Plugins

Code::Blocks’ features can be extend by using plugins, most of them listed on this page.

There are generally three types of plugins:

  1. Core plugins – developed and maintained by the core C::B team.
  2. Contrib plugins – developed and maintained by the community and proven to be very valuable. So they are integrated into the C::B SVN.
  3. 3rd party plugins – developed and maintained by the community but not (yet?) in the C::B repository. Theses plugins often have their own repository or are being posted (including the source code) in the forums.

Core Plugins

The core plugins are installed by default and offer the basic functions of Code::Blocks. The core plugins are maintained / developed by the official development team.

Abbreviations

Code::Blocks AutoComplete plugin.

Autosave

Saves project files between intervals.

Class Wizard

Provides wizard for creating new classes.

Code Completion

Provides code completion functionality and class browser.

CB Clangd Client

Provides code completion functionality and class browser by Clangd through LSP.

Compiler

Provides support for various compilers in one interface.

Debugger

Provides support for various debuggers in one interface.

File Extensions Handler

Adds extra file extension handlers.

Header Guard (Disabled by default.)

Create header guards (if needed) on file save.

LogHacker (Disabled by default.)

Manipulate loggers.

ModPoller (Disabled by default.)

Frequently check for external modification.

Open Files List

Manages a list of all opened files (editors).

Projects Importer

Imports projects from other IDE’s, e.g. MS Visual Studio and DevC++.

Scripted Wizard

Provides scripted wizard functionality.

Source Code Formatter (AStyle)

Formats source code files with specific style.

Tidycmt (Disabled by default.)

Formats comments on file save.

To-Do List

Adds to-do items to source code.

WinXP Look’n’Feel

Creates manifest file which enables the version 6.0 of the Common Controls on Windows XP.

Contrib Plugins

The user-contributed plugins are not installed by default and offer extended functionality for Code::Blocks. The contrib plugins are maintained / developed by third-party developers.

Aligner

Code alignment.

Auto Versioning

Helps you keep track of your project version and status.

Browse Tracker

Browse to previous source positions.

C::B Games

Games in a integrated development environment? You bet.

CCCC

Integrates CCCC tool for measurement of source code metrics (http://sourceforge.net/projects/cccc/) into Code::Blocks.

Code Profiler

Provides graphical interface to GNU GProf profiler.

Code Snippets

Manages small pieces of code (i.e. snippets).

Code Statistics

Shows various statistics from source code files.

Copy Strings to Clipboard

Copies literal strings from the current editor to clipboard.

CppCheck

Integrates the static code analyzer Cppcheck into Code::Blocks.

Cscope

Integrates Cscope (http://cscope.sourceforge.net/) into Code::Blocks.

DevPak Installer

Installs and updates DevC++ DevPaks.

DoxyBlocks

This plugin provides doxygen integration for Code::Blocks.

DragScroll

Enables dragging and scrolling with mouse.

EditorConfig

This plugin implements the http://EditorConfig.org/ file format.

Editor Tweaks

This plugin provides some additional tweaks for Code::Blocks editor.

Environment Variables

Sets environment variables within the focus of Code::Blocks.

File Manager

This plugin provides a simple file manager as a tab in the Code::Blocks management pane.

Header Fixup

Adds missing includes/forward declarations to C++ source files.

Help

Integrates third-party help files to the interface.

HexEditor

Opens files in a Code::Blocks integrated HexEditor.

Incremental Search

Searches and highlights a marked text incrementally within the open editor.

Keyboard Shortcuts

Manages menu shortcuts.

Koders

Queries the Koders webpage for keywords.

Library finder

Tool for automatically searching for installed libraries, and adding them to the project.

NassiShneiderman

Allows the creation of Nassi Shneiderman diagrams within Code::Blocks.

RegEx Testbed

Regular expressions testbed.

ReopenEditor

Reopen a closed editor via hotkey, menu-item, or from a list.

Rndgen

Generates random values (numbers or strings) when saving a file.

SmartIndent

A suite of plugins that supply smart indenting for various languages.

Source Exporter

Exports source code files to other formats such as HTML and PDF.

SpellChecker

A plugin to check the spelling of strings and comments.

Symbol Table

A simple graphical interface to the GNU symbol table displayer (nm).

ThreadSearch

Multi-threaded ‘Search in files’ with preview window.

Tools+

Creation and management of custom tools.

Valgrind

Valgrind analysis tools integration. (Valgrind does not run on Windows)

wxSmith

RAD tool for creating wxWidgets dialogs.

3rd Party Plugins

3rd party plugins – developed and maintained by the community but not (yet?) in the C::B repository. The contrib plugins are maintained / developed by third-party developers.

DisplayEvents

Display events that are registered with RegisterEventSink, in the Code::Blocks Debug log.

Fortran Project

This plugin provides symbol browser and code-completion for Fortran files.

IPDefend Toolkit

This plugin enables creation of a licensed application in an easy way. Available at [1]

KeyMacs

KeyMacs (or Keyboard Macros) plugin enables Recording, Playback, and editing of keystroke macros.

OccurrenceHighlighter

This plugin highlights all occurrences of keywords on a list.

Python

A set of plugins that provide a user interface for debugging python programs, completion hints for python code, and a python interpreter in a dockable window.

Rss::Blocks

This plugin is an rss feeds reader. Available at sourceforge/rssblocks

TRACE32 Debugger

Extends the Debugger plugin of Code::Blocks to work with the TRACE32 Debuggers. TRACE32 documentation “int_codeblock.pdf” and debuggert32.cbplugin are located on the enclosed SW CD on purchase of TRACE32

EPS Debugger for STM32

Developing embedded applications for STM32 with ST Link 2. Available at [2]

Vim Plugin

Emulate the Vim’s shortkeys in Code::Blocks editor. Available at cbvike on Github

If you have questions -> ask in the [/index.php/board,14.0.html forums].

OpenFilesListPlus Plugin

Enhanced version of the OpenFilesList plugin. Available at on Github

SourceTrail Plugin

Interface to on SourceTrail. Available at on Github

If you have questions -> ask in the [/index.php/topic,23588.0.html forums].

cbSystemView

A plugin to use SVD files for embedded development. Available at on Github

cbMemoryView

A plugin to view memory locations with multiple tabs. Available at on Github

cbBuildTools

A little plugin that displays the targets in a tree, for easy building. Available at on Github

Leave a Reply