User forums > Using Code::Blocks
Feature: Documentation tags for date, author, CVS/SVN etc.
(1/1)
lancent:
It would be fine to get some built-in documentation tags that always keep actual. This is an enourmous problem in documentation... it gets older...
So it would be great if codeblocks would allow Documentation tags like:
@author
@date
@cvsdocid -> version number from cvs/svn
etc.
and keep those informations actual!
Best wishes,
lancent.
FocusedWolf:
I like the c# styled xml comments better. It's in the doxygen wish list so pretty soon it will be very common. Java doc...thats the old, ugly, (standard), Java, way :lol:
--- Code: --- /// <summary>
/// Implements the OnBeginShutdown method of the IDTExtensibility2
/// interface. Receives notification that the host application is being
/// unloaded.
/// </summary>
/// <param term='custom'>Array of parameters that are host application specific.</param>
/// <seealso class='IDTExtensibility2' />
public void OnBeginShutdown(ref Array custom)
{
if (this._editor != null)
{
this._editor.Close();
}
}
--- End code ---
thomas:
This can be done easily.
Look on top of any of Code::Blocks' .cpp files to learn how this is done or read this:
http://svnbook.red-bean.com/en/1.1/svn-book.html#svn-ch-7-sect-2.3.4
EDIT:
This is not a specific svn feature, you can do the very same with cvs too (although the syntax is slightly different). I am just giving svn as an example because that's the revision control system I am used to.
Navigation
[0] Message Index
Go to full version