Comment Cropper |
Comment Cropper
This wizard is used to delete comments in Pascal/C/C++ units. The dialog of this wizard is as below.
Select Content to Crop
Here you can choose what to crop:
Current Selection: Crop the comments of selected block in current unit.
Current Unit: Crop the comments of current unit.
All Opened Units: Crop the comments of all opened units.
All Units in Current Project: Crop the comments of all units in current project.
All Units in Current ProjectGroup: Crop the comments of all units in current projectgroup.
Search Directory: Crop the comments under specified directory. If checked, the other options, including Root directory, file mask and whether to include sub-directory, can be set in "Search Directory" Groupbox.
Crop Settings
Here you can set the cropping options:
Delete All Comment Block: Delete all content of comment block when cropping.
Only Delete Extended ASCII Chars: Only delete extended ASCII chars (> 127). Block is kept. It's often used to migrate codes to English platform.
Crop Delphi Compiler Directive: This option is only enabled in Delphi. If this checkbox was selected, compiler directives will be cropped as comments. This option is not recommended for compiling.
Crop Todo List: If this checkbox was selected, Todo list in code will be cropped as comments.
Crop Project Source: If this checkbox was selected, Project Source file will be cropped.
Reserve Block Comment {...} and /*...*/ Begining with: If this checkbox was selected, blocks that the content start with one of the strings in edit will be kept. Strings in edit are separated by comma. For example, if the content of edit is "*,(*,*),#", the 4 forms of comments such as {*...}, {(*...}, {*)...} and {#...} will be ignored. (Keeping (*...*) is not supported.) This option is for keeping customized comments conveniently.
Merge Continuous Blank Lines to One.Some blank lines will be kept after comments cropping. This option can be used to merge continuous blank lines to one blank line.
Links