Click here to Skip to main content
13,299,727 members (72,096 online)
Click here to Skip to main content
Add your own
alternative version


21 bookmarked
Posted 5 Dec 2002

Morefast Doc-Comments Maker

, 5 Dec 2002
Rate this:
Please Sign up or sign in to vote.
This Add-In Is About Easy File/Function Commenting ...


While writing a project I got into many difficulties related to commenting. I solved these using the morefast add-In tool after implementing a little file/function commenting functionality. So I have made this little but useful add-in to help people who want to organize their code. I want to extend this add-in and have many ideas but due to time problems (which everyone has) I am posting only this three featured add-in.

There are three files.

  • CppCWiz.dll
  • Macro.txt
  • CommTemp.txt
Extract these files in one directory.

How you can make a new macro:

  1. First #@ sign.
  2. Macroname Covered With $.
  3. then = YOURSTRING
  4. Last @#.
    #@ $UD_COMPANYNAME$ = Sahajanand Software Private Ltd. @#
    #@ $MyName$ = Manish Pansiniya @#

How can you make changes to the template:

// Default Template For File Comment Look Like This Look Like This.
 *                                     $FILENAME$
 *  AUTHOR      : $AUTHOR$
 *  ----------------------------------------------------------------
 *  Revision History :
 *  $DATE$  $USERNAME$    Initial Version.
 *  ----------------------------------------------------------------
 *                         Copyright (c) 2002 $UD_COMPANYNAME$
Now, you can see the macro with $ signs. These macros are defined in macro.txt. We saw that in the previous section. $FILENAME$ is my internal macro which you can't change.  Internal fixed macros:
"$FILENAMEWPATH$" - FileName With Path
"$FILENAME$"      - FileName
"$SELECTION$"     - Current Selection In Workspace.
"$PROJECT$"       - Project Name.
"$AUTHOR$"        - Author Name. You must provide this in macro.txt.
"$DATE$"          - Today's Date.
So you can't use these macros except author. You must define author macro in macro.txt file. Next macro is $ASKTOUSERDESCRIPTION$. If you want to ask any information from the user, then define ASKTOUSER and then your description, e.g.

Add-In Buttons Descriptions (AddIn Utilities)

FileComment Button :- This button is file comment. File comment template is stored in CommTemp.txt file. You can change the file comment by changing the file comment template in the CommTemp.txt file.

FunctionComment Button :- This button is the function comment. The function comment template is stored in the CommTemp.txt file. You can change the function comment by changing the function comment template in the CommTemp.txt file.

ChangeLog Button :- This button is the ChangeLog comment. The ChangeLog comment template is stored in CommTemp.txt. You can change the ChangeLog comment by changing the function comment template in the CommTemp.txt file.

Option :- Options are not yet fully implemented but you can open macro.txt and the Commtemp.txt file using Explorer, and you can see online your macros.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Manish Pansiniya
Founder IntelliPro Solutions Pvt. Ltd.
India India
This member doesn't quite have enough reputation to be able to display their biography and homepage.
Group type: Organisation (No members)

You may also be interested in...

Comments and Discussions

QuestionOnly for VS 6.0 ? Pin
leandrobecker10-Dec-02 5:43
memberleandrobecker10-Dec-02 5:43 
AnswerRe: Only for VS 6.0 ? Pin
mkcx7-Jul-04 4:41
membermkcx7-Jul-04 4:41 
GeneralNice! Pin
Mustafa Demirhan6-Dec-02 13:46
memberMustafa Demirhan6-Dec-02 13:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.171207.1 | Last Updated 6 Dec 2002
Article Copyright 2002 by Manish Pansiniya
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid