Results 1 to 2 of 2

Thread: C++ formatter/beautifier?

  1. #1
    Join Date
    May 2008
    Posts
    130

    C++ formatter/beautifier?

    Hello

    I am wondering if anybody can point me to a good, free C++ formatter/beautifier. I'm looking for something that offers the level of control that the Unix/Linux 'indent' program provides, but for C++ (indent has some quirks when applied to C++). I have spent a while Googling for something along these lines, but haven't come up with anything, only various very basic formatting programs like Artistic Style. It would be best if someone could point me to an open-source program, but I'm willing to work with something that's free .

  2. #2
    Join Date
    May 2008
    Posts
    130

    Re: C++ formatter/beautifier?

    This is a parsing tool and a universal source code generator that interprets a scripting language. The language provides the function
    'indentFile()'.

    If you just have a file to indent, write a single-line script, called "indent.cws" for instance:
    indentFile("my-C++-file.cpp");

    and type:
    codeworker indent.cws

    If you have more files to indent, change "indent.cws" to:
    forfile i in "*.cpp" indentFile(i);
    forfile i in "*.h" indentFile(i);

Similar Threads

  1. Scrivener: Ebook formatter and converter?
    By tHeDa! in forum Ebooks
    Replies: 7
    Last Post: 04-03-2012, 12:27 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,651,276.94806 seconds with 17 queries