Difference between revisions of "Code::Blocks Plugins"

From Code::Blocks
m (→‎Format of .cbplugin files: Add dynamic library extensions for Mac and Linux)
m (→‎Format of .cbplugin files: Indicate that the plugin name may begin with "lib")
Line 333: Line 333:
 
The manifest.xml file contains plugin information (p.e. version and description) and an optional list of extra files.
 
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.
+
The name may start with "lib" and include version information after a dash, p.e. libmyplugin-2003.cbplugin, but the contents will be the same of myplugin.cbplugin.
  
 
==See also==
 
==See also==
 
* [[Announcement for plugins/patches|Announcement for plugins/patches]] These are not stable plugins in many cases
 
* [[Announcement for plugins/patches|Announcement for plugins/patches]] These are not stable plugins in many cases

Revision as of 18:47, 12 January 2022

General

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.

If you are looking for plugins:

  1. Look in the official release. Notice that the installer / package manager might require you to enable some of the plugins specifically. So READ carefully.
  2. Search the forums for announcements, especially the forums at [/index.php/board,14.0.html].
  3. 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

  1. Enter the plugins description on this page.
  2. Announce the plugin here using this template.


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.

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

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 start with "lib" and include version information after a dash, p.e. libmyplugin-2003.cbplugin, but the contents will be the same of myplugin.cbplugin.

See also