Donate Share

Uncrustify Code Beautifier

Code

Programming Languages: C, C#, D, C++, Java

License: GNU General Public License (GPL)

Repositories

browse code, statistics, last commit on 2009-10-16 svn co https://uncrustify.svn.sourceforge.net/svnroot/uncrustify uncrustify

browse code, statistics git://uncrustify.git.sourceforge.net/gitroot/uncrustify/uncrustify (read-only)

Show:

What's happening?

  • Alignment problem with '.' and '->'.

    I am getting an unwanted alignment of items after '.' and '->' operators. I set 'sp_member = remove' to try to get rid of any blanks to the left or right of these operators. Things to the right of the operator are unexpectedly lining up. (Uncrustify V 0.54). Before Uncrustify: void Data::clear() { std::cout

    2009-11-11 17:35:47 UTC by djb_95

  • Comment: uncrustify crashes sometimes when using "set func_wrap FSUB"

    I'm not able to reproduce the crash with the latest code. Would you retry with the latest from GIT? You can grab a tarball from the download link on GitHub: http://github.com/bengardner/uncrustify.

    2009-11-11 13:42:46 UTC by bengardner

  • uncrustify crashes sometimes when using "set func_wrap FSUB"

    Dear Ben, in March you added support for "FUNC_PROTO in macro - ID: 2656900", see https://sourceforge.net/tracker/?func=detail&atid=786650&aid=2656900&group_id=153164. Thanks a lot for this feature. With this feature activated, uncrustify sometimes crashes. Attached please find the input file pomp_fwrapper.c. If you uncomment one of the two commented functions, you can reproduce the...

    2009-11-10 16:12:15 UTC by roessel

  • nl_create_if_one_liner doesn't work for else-if and else

    nl_create_if_one_liner only creates the one-liner for if-statements, but not the corresponding else-if and else statements. I've checked out the source and changed this in my version to add these lines in newlines.cpp at 1568 but this needs adding to the central repository: ((pc->parent_type == CT_ELSEIF) && cpd.settings[UO_nl_create_if_one_liner].b) ||.

    2009-11-10 14:52:57 UTC by nobody

  • Followup: RE: New line after method declaration

    Thanks, worked like a charm!

    2009-11-08 02:04:09 UTC by brians42

  • Followup: RE: Objective-C Strings

    I was running uncrustify with the objc.cfg file, without the "-l" flag. I tried your suggestion and ran uncrustify with "-l OC" and my string literals were left intact. Thanks for the suggestion.

    2009-11-08 01:56:12 UTC by brians42

  • Followup: RE: New line after method declaration

    Try this `nl_fdef_brace = force`.

    2009-11-07 20:12:45 UTC by bengardner

  • Followup: RE: Objective-C Strings

    How are you running uncrustify? I tried your example in a file called "test.m" and it properly parses the "@" strings. If you use stdin, you'll have to specify the language "-l OC" or "-l OC+".

    2009-11-07 20:01:39 UTC by bengardner

  • Followup: RE: Disable backup

    Try using the "--no-backup" command-line option.

    2009-11-07 19:59:41 UTC by bengardner

  • Followup: RE: Use of GIT to manage uncrustify development a

    I haven't tried GIT on windows, so I don't know what to say about those changes. Since you plan on contributing, I suggest you head over to http://github.com, create an account and then fork my uncrustify project, which is at this URL: http://github.com/bengardner/uncrustify You will end up with your own "private" github-hosted copy. Do whatever you want, change whatever you want; it...

    2009-11-07 19:58:23 UTC by bengardner

Our Numbers