You are here: AxTools > CodeSMART 2007 for VB6 > Documentation > User's Guide > Commenting Tools > Removing Comments
While browsing this page, why not start downloading the evaluation setup kit (direct download, no questions asked).

Removing Comments

If you want to remove the comments from a section of code then you can use the CodeSMART automatic comment remover tool.

To remove comments from your code:

  1. Open the project you want to remove comments from.
  2. Click the Comment Remover button on the Code Edit Tools toolbar or select the same entry in the CodeSMART main menu (quick toolbar and menu references are available) in order to display the Remove comments dialog box.
    Comment Remove
  3. Select the operation scope. Depending on the current position in code and the active code or designer window, only valid options are listed.
  4. Confirm if you want to remove regular comments (default). Check this option if you want to remove all the comments in your code (this does not include the CodeSMART special markers).
  5. Specify if you want to remove the special comment markers that CodeSMART uses to identify a module and a member descriptive header or a block of custom code. Don't check this option (default) if you want CodeSMART to be able to automatically overwrite/remove the module/member headers and other comments it has inserted.
  6. If you want to keep certain comments that match a specific pattern then you should add these patterns to the list of comments that will be ignored and check the Ignore comments starting with check-box.
 Note
  • The CodeSMART Comment Remover doesn't remove inline comments.

See Also

Commenting Tools Overview
Comment Templates
Inserting Header Comments
Inserting Embrace-Type Comments
Inserting Inline Comments

Back To Top

Copyright © 2008 AxTools - CodeSMART 2007 for VB6 - Commenting Tools