Recommendations for indenters

Discussion in 'C++' started by m0shbear, Feb 17, 2011.

  1. m0shbear

    m0shbear Guest

    Which indenters do you folks have a preference for?
    While /usr/bin/indent -linux does a good job, it's not exactly C++
    aware and I have to sed some parts afterward.
    Are there C++-aware batch-mode indenters which do a great job?
    m0shbear, Feb 17, 2011
    #1
    1. Advertising

  2. m0shbear

    Ian Collins Guest

    On 02/17/11 03:13 PM, m0shbear wrote:
    > Which indenters do you folks have a preference for?
    > While /usr/bin/indent -linux does a good job, it's not exactly C++
    > aware and I have to sed some parts afterward.
    > Are there C++-aware batch-mode indenters which do a great job?


    Set up your editor to indent to your style.

    --
    Ian Collins
    Ian Collins, Feb 17, 2011
    #2
    1. Advertising

  3. m0shbear

    Jonathan Lee Guest

    On Feb 16, 8:13 pm, m0shbear <> wrote:
    > Which indenters do you folks have a preference for?
    > While /usr/bin/indent -linux does a good job, it's not exactly C++
    > aware and I have to sed some parts afterward.
    > Are there C++-aware batch-mode indenters which do a great job?


    I've found astyle and uncrustify to be pretty good
    Jonathan Lee, Feb 17, 2011
    #3
  4. m0shbear

    Puppet_Sock Guest

    On Feb 16, 9:13 pm, m0shbear <> wrote:
    > Which indenters do you folks have a preference for?
    > While /usr/bin/indent -linux does a good job, it's not exactly C++
    > aware and I have to sed some parts afterward.
    > Are there C++-aware batch-mode indenters which do a great job?


    Heh. I usuallly invoke one of the member functions
    of a JuniorProgrammer object to do things like that.

    Socks
    Puppet_Sock, Feb 17, 2011
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. suzy

    .net hosting recommendations

    suzy, Feb 10, 2004, in forum: ASP .Net
    Replies:
    13
    Views:
    729
    =?Utf-8?B?UmF1bA==?=
    Apr 10, 2004
  2. Jeffrey W. Travis

    Newbie Q: State Machine Book Recommendations

    Jeffrey W. Travis, Mar 3, 2004, in forum: VHDL
    Replies:
    6
    Views:
    922
    Mike Treseler
    Mar 4, 2004
  3. Ivan Marsh

    Perl compiler recommendations?

    Ivan Marsh, Apr 15, 2005, in forum: Perl
    Replies:
    0
    Views:
    2,747
    Ivan Marsh
    Apr 15, 2005
  4. Deep Silent Ocean

    Seeking Book Recommendations...

    Deep Silent Ocean, Mar 15, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    431
    Alan Seunarayan
    Apr 17, 2006
  5. Replies:
    1
    Views:
    462
    Michael Nemtsev
    Mar 17, 2006
Loading...

Share This Page