codeblocks  17.12
About: Code::Blocks is an cross platform C++ IDE.
  Fossies Dox: codeblocks_17.12.tar.xz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

Gary Harris.
6 February, 2011


DoxyBlocks is a plugin for Code::Blocks that integrates doxygen into the IDE. It allows you to create documentation, insert comment blocks and run HTML or CHM documents. It also provides configuration of some of the more commonly used settings and access to doxywizard for more detailed configuration.

DoxyBlocks has been built with SVN version 6130 and later of Code::Blocks and requires a recent version of wxSmith which includes the "extra code" feature.

You can download DoxyBlocks from

Changing DoxyBlocks

DoxyBlocks is intended to be an example of good practice using doxygen in Code::Blocks. If you make changes to DoxyBlocks, please respect the work that has gone into making it what it is and do the following:

  • Please document your changes using doxygen!
  • Run doxygen over the code with all warnings enabled and make sure that you correct all errors and warnings that your documentation generates before submission.
  • Update the main page changes and history at the bottom of DoxyBlocks.h.
  • Document any warnings that can't be removed. See the three warnings generated by regular expressions in Expressions.h for an example of what this means.
  • Update the change log using the Autoversion plug-in.
  • Thanks for your contribution.

Comments & Feedback

Your input is welcomed. Please direct all comments, suggestions and feedback to the Code::Blocks forum thread at:,12052.


  • Fixed: Hard coded doxygen directory name.
  • Updated: Directory creation code.


Version 1.6.614 - 2 Feb 2011.

  • Updated: doxygen support to v1.7.3.

Version 1.6.606 - 12 July 2010.

  • Fixed: Fixed some additional inclusions and other minor factors for contrib inclusion.

Version 1.5.596 - 5 July 2010.

  • A range of changes were made by Killerbot to prepare DoxyBlocks for inclusion as a contrib plugin, including fixing bugs with path detection and running the HTML docs.
  • Fixed: Bugs that caused DoxyBlocks to crash when importing a Visual Studio solution.
  • Added: Feature that allows you to load a saved template instead of the default settings, if no saved settings exist when loading a project. Requested by Codeur.
  • Updated: Doxyfile output to doxygen 1.7.1.
  • New: Prevented doxygen parse errors when using WXUNUSED() by adding it to doxygen's pre-processor settings.
  • Updated: The document directory functionality to allow the use of directories other than "doxygen" as the root folder.
  • Cleaned: The documentation to parse as cleanly as possible with all warnings enabled.

Version 1.5.511 - 19 May, 2010.

  • Fixed: Unix build files.
  • Removed: Debug statement that was inadvertently left behind.

Version 1.5.508 - 17 May, 2010.

  • Fixed: Fixed a crash that occurred when saving settings from the system configuration dialogue when no project was open. Reported by danselmi.
  • Fixed: Template menu items not disabled with the others.

Version 1.5.502 - 21 April, 2010.

  • Added: Functionality to better process the function return string and the keywords "static" and "inline".
  • Added: Functionality to process ** in parameters and return values.

Version 1.5.454 - 2 April, 2010.

  • Updated: Function args including const should now be parsed correctly.

Version 1.4.440 - 1 April, 2010.

  • Added: Virtual target "All", for consistency.
  • Updated: Menu text so that only the first word is capitalised, as per the existing convention.
  • Added: New functionality to save and load a configuration template. Requested by Codeur.

Version 1.4.366 - 27 March, 2010.

  • Added: Information about macro expansion to the config. panel path tooltips.
  • Cleaned: Removed the .cbplugin creation command from both Windows and Unix projects.
  • Added: You can now click the URL displayed in the log window to view the HTML docs.
  • Updated: Changed the config Get functions to be constant.

Version 1.3.310 - 27 March, 2010.

  • Fixed: Bug that prevented the output directory being created if a sub-directory was used and didn't already exist.
  • Fixed: Bug in prefs loading code that prevented global prefs from being loaded for a project which hadn't previously used DoxyBlocks.
  • Updated: The generated doxyfile couldn't be run directly by doxygen due to the way that relative paths were created. Changed how DoxyBlocks creates and runs the doxyfile so that it can be run directly by other agents.

Version 1.3.289 - 26 March, 2010.

  • Fixed: I have changed my setup and the project to run with the paths expected by C::B. Hopefully this will solve the failures to run experienced by .cbplugin users and bring it into line with other contrib projects.

Version 1.2.236 - 22 March, 2010.

  • Added: Configuration of EXTRACT_PRIVATE and EXTRACT_STATIC. Requested by ptDev.
  • Updated: Changed the generated doxyfile to doxygen 1.6.3.
  • Updated: For consistency, changed HTML_TIMESTAMP default to YES.
  • Updated: For consistency, changed EXTRACT_LOCAL_METHODS default to NO.
  • Added: Macro expansion in path prefs so that you can use things like "$(CODEBLOCKS)" in paths. Requested by Codeur.

Version 1.2.223 - 21 March, 2010.

  • Fixed: Bug in the config. panel that caused the OUTPUT_DIRECTORY label to be obscured on Linux.

Version 1.2.221 - 20 March, 2010.

  • Fixed: Finally got it to run on Linux with Jens' help by integrating with contrib plug-ins and building from there.
  • Updated: Changed my fix from 1.2.218 to Jens' version as it's more efficient.

Version 1.2.218 - 20 March, 2010.

  • Fixed: Nasty bug that caused C::B to crash if no editors were open when DoxyBlocks functions were used.

Version 1.2.213 - 19 March, 2010.

  • Cleaned: General cleanup, added to and corrected some documentation errors, added credits, removed junk, updated .po.

Version 1.2.204 - 18 March, 2010.

  • Added: The ability to create separate output directories for projects that live in the same directory.
  • Added: Missing warning when trying to run HTML Help and it's not found.

Version 1.1.138 - 18 March, 2010.

  • Fixed: The menu activation code was still not right. I think I now have the right combination of events to make things happen correctly.

Version 1.1.123 - 17 March, 2010.

  • Added: I forgot to disable the menu if there are no projects open at startup. That's now done.

Version 1.0.111 - 16 March, 2010.

  • Updated: Made a matching HTML Help icon.
  • Added: Block comments can now handle more than one return value keyword.
  • Added: The toolbar is now disabled if there are no projects open on startup.
  • Updated: Changed the log output when doxygen is running slightly.

Version 1.0.79 - 16 March, 2010.

  • Added: The toolbar and menu are now disabled when all projects are closed and re-enabled when a project is opened.
  • Fixed: The wxSmith block was being lost from the .cbp when saving during project closure. Reworked how config is saved.

Version 1.0.14 - 10 March, 2010.

  • Added: Precompiled headers for faster compilation.
  • Fixed: I somehow lost the wxSmith block from the project file.
  • Added: The ability to run a CHM on any OS, given the appropriate viewer. Windows still uses the OS viewer by default.
  • Added: Jens' automake files and added the missing files.
  • Updated: Improved and added to the documentation.

Version 1.0.1 - 9 March, 2010.

  • Fixed: Bug that slipped through preventing loading of some prefs.

Version 1.0.0 - 9 March, 2010.

  • Added: Disable comment toolbar buttons and menu items when there are no editors open.
  • Added: Changed the config system to use the project file and load and save at project open and close.
  • Fixed: Bug in config. panel that allowed dependent warning checkboxes to be active when the master warnings one wasn't.

Version 0.7.669 - 6 March, 2010.

  • Added: The block comment sample now updates to reflect the selection when "Use @ In Tags" selection is changed.
  • Cleaned: Improved some text generation to simplify localisation strings.
  • Added: Some missing documentation.
  • Updated: Improved return value checking when running doxygen. Thanks to private_joker.
  • Updated: Quoted the doxyfile path when running doxywizard to avoid doxywizard crash if the path contain spaces. Thanks to private_joker.

Version 0.7.636 - 5 March, 2010.

  • Added: Added the ability to use the AutoVersion plug-in's version string as doxygen's project number value.
  • Fixed: The function parser was creating comments with the parameter type and name in the wrong order.
  • Fixed: Bug in regex pattern matching that allowed multiple matches.
  • Added: Inserted comments blocks are now indented to match the code that they're commenting.

Version 0.5.457 - 3 March, 2010.

  • Added: BusyInfo when running doxygen.
  • Added: Ability to run HTML after compilation.
  • Added: Ability to run HTML in the internal viewer.
  • Updated: Header blocks for all files.
  • Added: Now parses the selected line when inserting block comments and pre-fills the \param and \return values.
  • Added: Option to use "@" in comments rather than "\".

Version 0.3.287 - 28 February, 2010.

  • Fixed: DOT_PATH was written twice due to some extraneous code.
  • Added: New menu which mirrors toolbar functionality.
  • Added: Context-sensitive menu.
  • Added: Translation catalogue.
  • Cleaned: Some general code tidying.
  • Added: Resource file and Windows version info.
  • Added Linux project files.
  • Added Linux .cbplugin file to the repository.

Version 0.2.177 - 22 February, 2010.

  • Fixed: Prefs dlg order and improved the layout slightly.
  • Added: Warning checkbox toggles other warnings which I forgot to add before.
  • Updated: The entire project to run from /src/plugins/contrib/. Hopefully that will solve some problems.

Version 0.2.172 - 22 February, 2010.

  • Initial version.
  • Added: The ability to run the HTML and CHM from the toolbar.
  • Fixed: Bug that caused a crash when using the plugin without a project open.
  • Added: Doxyfile default prefs configuration.
  • Added: Access to configuration from toolbar.
  • Added: Ability to overwrite doxyfile either silently or after prompt.
  • Added: Option to control whether CHM is run after compilation.

Version 0.1 - 19 February, 2010.

  • Initial release.