This is ReadMe.rtf in view mode; [Download] [Up]
Commentate R1.2
_________________________________________________________
Commentate is an application for developers which speeds common code manipulation. It offers the following types of comments:
C:
printf("Hello World\n");
is commented as:
/*
printf("Hello World\n");
*/
DEBUG:
printf("Hello World\n");
is commented as:
#ifdef DEBUG
printf("Hello World\n");
#endif
Objective C:
[object doSomething];
is commented as:
// [object doSomething];
PostScript:
100 100 moveto 200 200 lineto stroke
is commented as:
% 100 100 moveto 200 200 lineto stroke
Shell,AWK:
echo "Hello World"
is commented as:
# echo "Hello World"
Sybase (Version 10):
insert into test values ("Hello World")
is commented as:
-- insert into test values ("Hello World")
Uncomment:
The uncomment menu item uncomments one level of commenting. If you have ObjC comments inside C comments, it would take two uncomments to remove all the comment marks (one for the C comments, then another for the ObjC comments)
_________________________________________________________
Known Bugs:
Commenting code with C style comments multiple times will result in code like the following:
/*
/*
printf("Hello World\n");
*/
*/
which is not valid C code. To get around this, either fix Commentate (and send me the fix), or don't do it...
_________________________________________________________
I wrote this a couple of years ago when I was learning C, so please ignore the complete lack of design... It's reasonably fast and free though, so I keep using it. I hope you find it useful as well. If you have any comments or suggestions, you can reach me at the address below.
Jason Beaver
Software Engineer
Vanguard Software, Corp.
Jason_Beaver@vanguard.com (NeXTMail preferred)These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.