-
One more thing: Uncrustify defines four comment parent types, depending on whether there is a newline before and/or after the comment. These are newlines, not blank lines, right? My comments will typically be multiline comments, with one newline before, and two newlines after. If there are two newlines before a comment, my indenting style rule should not apply. But I'm not yet clear on which of...
2009-07-04 21:18:52 UTC in Uncrustify Code Beautifier
-
Thanks for the pointers Ben. I've started reading the code, and I've successfully added options, but I haven't yet figured out the uncrustify internals well enough to implement any logic. Can you point me to a similar use case for preventing newlines from being inserted before comments?.
2009-07-04 20:52:11 UTC in Uncrustify Code Beautifier
-
Hi. For nearly 15 years now I've been using a style for API documentation in C++ headers. The style was developed at Apple computer for MacApp and other projects, and I believe it was adopted and used at Taligent and elsewhere, though clearly it hasn't become widely adopted. I'm very fond of the style and unwilling to give it up, and it's currently the biggest barrier preventing me from using...
2009-07-04 14:59:18 UTC in Uncrustify Code Beautifier