Code::Blocks Plugins
General
Code::Blocks' features can be extend by using plugins, most of them listed on this page. There are generally three types of plugins:
- Core plugins - developed and maintained by the core C::B team.
- Contrib plugins - developed and maintained by the community and proven to be very valuable. So they are integrated into the C::B SVN.
- 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.
If you are looking for plugins:
- Look in the official release. Notice that the installer / package manager might require you to enable some of the plugins specifically. So READ carefully.
- Search the forums for announcements, especially the forums at [/index.php/board,14.0.html].
- There might be information on the WiKi concerning other plugins on this page and here.
For Windows users, the default behavior of the current installer (10.05) does not install contrib plugins. You need to manually check the "contrib plugin" checkbox when asked for selected components to install. There is no way to install them manually afterwards.
If you are developing plugins:
Surely you can work with plugin as you like, but here are some suggestions:
- Announce them in the plugin development board in the forums - including the (initial) source code at [/index.php/board,14.0.html].
OR
- Setup your own webpage (or use a file sharing platform) and post the link to the sources/binaries/svn access in the plugin development board in the forums at [/index.php/board,14.0.html].
OR
- Setup a repository, probably at BerliOS or SourceForge, post the link to the sources/binaries/svn access in the plugin development board in the forums at [/index.php/board,14.0.html]. Notice: This is very convenient as attachments in our forum might be deleted from time to time. So it is not safe to post source code in the forums.
THEN
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.
- Code::Blocks AutoComplete plugin.
- Saves project files between intervals.
- Provides wizard for creating new classes.
- Provides code completion functionality and class browser.
- Provides support for various compilers in one interface.
- Provides support for various debuggers in one interface.
- 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.
- Manages a list of all opened files (editors).
- Imports projects from other IDE's, e.g. MS Visual Studio and DevC++.
- Provides scripted wizard functionality.
Source Code Formatter (AStyle)
- Formats source code files with specific style.
Tidycmt (Disabled by default.)
- Formats comments on file save.
- Adds to-do items to source code.
- 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.
- Code alignment.
- Helps you keep track of your project version and status.
- Browse to previous source positions.
- Games in a integrated development environment? You bet.
- Integrates CCCC tool for measurement of source code metrics (http://sourceforge.net/projects/cccc/) into Code::Blocks.
- Provides graphical interface to GNU GProf profiler.
- Manages small pieces of code (i.e. snippets).
- Shows various statistics from source code files.
- Copies literal strings from the current editor to clipboard.
- Integrates the static code analyzer Cppcheck into Code::Blocks.
- Integrates Cscope (http://cscope.sourceforge.net/) into Code::Blocks.
- Installs and updates DevC++ DevPaks.
- This plugin provides doxygen integration for Code::Blocks.
- Enables dragging and scrolling with mouse.
- This plugin implements the http://EditorConfig.org/ file format.
- This plugin provides some additional tweaks for Code::Blocks editor.
- Sets environment variables within the focus of Code::Blocks.
- This plugin provides a simple file manager as a tab in the Code::Blocks management pane.
- Adds missing includes/forward declarations to C++ source files.
- Integrates third-party help files to the interface.
- Opens files in a Code::Blocks integrated HexEditor.
- Searches and highlights a marked text incrementally within the open editor.
- Manages menu shortcuts.
- Queries the Koders webpage for keywords.
- Tool for automatically searching for installed libraries, and adding them to the project.
- Allows the creation of Nassi Shneiderman diagrams within Code::Blocks.
- Regular expressions testbed.
- Reopen a closed editor via hotkey, menu-item, or from a list.
- Generates random values (numbers or strings) when saving a file.
- A suite of plugins that supply smart indenting for various languages.
- Exports source code files to other formats such as HTML and PDF.
- A plugin to check the spelling of strings and comments.
- A simple graphical interface to the GNU symbol table displayer (nm).
- Multi-threaded 'Search in files' with preview window.
- Creation and management of custom tools.
- Valgrind analysis tools integration. (Valgrind does not run on Windows)
- 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.
- Display events that are registered with RegisterEventSink, in the Code::Blocks Debug log.
- This plugin provides symbol browser and code-completion for Fortran files.
- This plugin enables creation of a licensed application in an easy way. Available at [1]
- KeyMacs (or Keyboard Macros) plugin enables Recording, Playback, and editing of keystroke macros.
- This plugin highlights all occurrences of keywords on a list.
- 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.
- This plugin is an rss feeds reader. Available at sourceforge/rssblocks
- 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
- Developing embedded applications for STM32 with ST Link 2. Available at [2]
- 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].
- Enhanced version of the OpenFilesList plugin. Available at on Github
- Interface to on SourceTrail. Available at on Github
If you have questions -> ask in the [/index.php/topic,23588.0.html forums].
- A plugin to use SVD files for embedded development. Available at on Github
- A plugin to view memory locations with multiple tabs. Available at on Github
- A little plugin that displays the targets in a tree, for easy building. Available at on Github
Format of .cbplugin files
The .cbplugin files are just .zip files with the extension changed. If you have a myplugin.cbplugin file it contains:
- the dynamic library (myplugin.dll on MSW, myplugin.dylib on Mac and myplugin.so on others).
- a myplugin.zip file containing a manifest.xml file and the needed resources (if any).
- if the plugin has a configuration dialog, two 80x80 .png files (myplugin.png and myplugin-off.png).
The manifest.xml file contains plugin information (p.e. version and description) and an optional list of extra files.
The name may include version information after a dash, p.e. myplugin-2003.cbplugin, but the contents will be the same of myplugin.cbplugin.
See also
- Announcement for plugins/patches These are not stable plugins in many cases