Application to tidy up you Code

This is a discussion on Application to tidy up you Code within the C++ Programming forums, part of the General Programming Boards category; Guys ... Is there any application or IDE available which can tidy up you C++ Code. Thanks...

  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    2

    Application to tidy up you Code

    Guys ... Is there any application or IDE available which can tidy up you C++ Code.

    Thanks

  2. #2
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Notepad++ has a TextFX plugin feature "Reindent C++ code"...
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  3. #3
    Registered User
    Join Date
    Aug 2007
    Posts
    2

    Thanks for quick response

    Quote Originally Posted by maxorator View Post
    Notepad++ has a TextFX plugin feature "Reindent C++ code"...
    Thanks for the help... I appreciate it

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Emacs (M-X indent-region after marking the region you want to do) and Visual studio's built-in editor can do the same too (, as well as I'm sure others can do.

    There are also external programs, such as "indent" that can do the same.

    --
    Mats

  5. #5
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Baah. Notepad++ is useful anyway.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  6. #6
    Registered User
    Join Date
    Nov 2006
    Posts
    519
    eclipse->select region->ctrl I->indention according to to the coding style chosen in the setup

  7. #7
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    If you format your code to begin with you shouldn't need a code tidying tool (except for code made by others).

  8. #8
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,592
    I agree, keeping it tidy while you're writing it will be so much more beneficial to you.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Choosing a compiler
    By pushingsquares in forum Game Programming
    Replies: 27
    Last Post: 12-14-2006, 09:33 AM
  2. Explain this C code in english
    By soadlink in forum C Programming
    Replies: 16
    Last Post: 08-31-2006, 12:48 AM
  3. Replies: 1
    Last Post: 03-21-2006, 06:52 AM
  4. Basic port scanner code .. pls help ???
    By intruder in forum C Programming
    Replies: 18
    Last Post: 03-13-2003, 07:47 AM
  5. A send mail application with source code
    By Rizwan Rafique in forum Windows Programming
    Replies: 8
    Last Post: 01-11-2002, 09:22 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21