Active Comments Add-In

Active Comment is an add-in to Microsoft Developer Studio. It has been tested with Version VC++ 6 and Service Pack 3.

This addin provides active comments using your source code. You can reference your code with external files, e-mail addresses, set links to internet sites, MSDN articles, or you can insert voice commentary to your source, etc.

This version of Active Commentary is the first implementation. If you found any errors or bugs I would be very greatful to recieve feedback. Your suggestions would be highly appreciated.

Disclaimer: This software is provided as-is and with no implied warranty of any kind. Please don't place any blame on me if it does something untoward to your system.

Installation

  1. Copy ActiveComments.dll to the add-ins folder of Developer Studio: C:\Program Files\DevStudio\Microsoft Visual Studio\Common\MSDev98\AddIns
  2. In Developer Studio, go to the "Tools" menu and select "Customize...".
  3. Go to the "Add-ins and Macro Files" tab (the last one). Select the checkbox "Active Comments", and click "Close".
  4. Developer Studio adds a new toolbar with the Active Comments buttons:

1   2   3   4   5    6   7   8   9   10   11

Button
Caption
Description
1
Comment Setup
use for create new or modify exists active comment
2
View Commentary will executed linked to selected commentary reference
3
List of all Active Comments
will displayed list of all active comments in the current project
4
Active comment clear
delete selected active comment, but leave title in a text
5
Delete Active Comment
full delete selected active comment (and title from a text also will be deleted)
6
Change case to upper
Change case of selected text to upper
7
Change case to lower
Change case of selected text to lower
8
Capitalize this string
Capitalize selected text
9
Convert space to tab
Convert space at the begin and end of selected text to tab
10
Code Templates
insert code template, which selected from the list
11
About
About Active Comment AddIn

To deactivate Active Comments, perform steps 2-3, but remove the selection from the Active Comments checkbox.

To completely uninstall Active Comments:

  1. Exit Developer Studio.
  2. Delete Active Comments.dll from your Developer Studio add-ins folder.

Usage

  1. Move the cursor to the row where you want to insert an active comment or select the text which you want to make an active comment.
  2. Click the button "Comment Setup" and in the following dialog enter the comment title (it will be displayed in the source). Point a reference to file (or MSDN article, web page, e-mail, etc.). If you want to make a voice comment, click on the button
    "Show Record Controls", make a record and save it (name of wave file will be generated automatically). Click OK.
  3. Active comment will be displayed. For example: // [[->Link to the MSDN]]

If you want to manage all of active comments in the project, choose the command "View All Comments". And in the following dialog you can edit, delete and execute active comments.

Limitation: in one line it is possible to have only one active commentary.

Acknowledgements

Special thanks to Nikolay Egipco.

Downloads

Download Visual Studio Add-In - 49 Kb
Download source code - 56 Kb


Comments

  • There are no comments yet. Be the first to comment!

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • The explosion in mobile devices and applications has generated a great deal of interest in APIs. Today's businesses are under increased pressure to make it easy to build apps, supply tools to help developers work more quickly, and deploy operational analytics so they can track users, developers, application performance, and more. Apigee Edge provides comprehensive API delivery tools and both operational and business-level analytics in an integrated platform. It is available as on-premise software or through …

  • Java developers know that testing code changes can be a huge pain, and waiting for an application to redeploy after a code fix can take an eternity. Wouldn't it be great if you could see your code changes immediately, fine-tune, debug, explore and deploy code without waiting for ages? In this white paper, find out how that's possible with a Java plugin that drastically changes the way you develop, test and run Java applications. Discover the advantages of this plugin, and the changes you can expect to see …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds