
Looking for a C/C++ comment formatting tool
Quote:
>Hi,
>is anybody aware of a tool, that supports C/C++ programmers by
>(re-)formatting
>their comments in a nice manner - like doing a word-wrap and surrounding
>the comment with user-definable characters.
>Indent and other code beautifiers leave comments untouched and are not of
>help for this problem.
C-Vision, by Gimpel Software, includes a program called C-Comment that
does format comments. You have some control over how it re-formats
comments. However, even the manual warns:
"A key caveat: Reformatting comments is a tricky business, and no
general scheme is completely foolproof. While C-COMMENT is pretty good
at reformatting comments, you will probably find that it sometines
guesses incorrectly."
I found that it did help on code I used it on, but there was still a
fair bit of manual editing necessary even oafter processing the source
through C-Comment.
I do not work for Gimpel Software.
--
All opinions expressed are my own and not my employer's.
--
--