C++ Code Cleaner (formatting)

Discussion in 'Web Design & Coding' started by dubstar, May 17, 2007.

  1. dubstar

    dubstar format c:

    Messages:
    1,357
    Location:
    Southern California
    I keep my code formatted just by pressing enter after each new line, etc. It created the tiered formatting, but I was wondering if there is a cleaner that will help format incase some code changes and the tier needs to change shape.

    website / software / plug-in for Visual Studio 2005?
     
  2. X-Istence

    X-Istence * Political User

    Messages:
    6,498
    Location:
    USA
    Visual Studio can auto format the code for you.

    ctrl + k; ctrl + j IIRC.
     
  3. dubstar

    dubstar format c:

    Messages:
    1,357
    Location:
    Southern California
    Ctrl+K just asks for another key-combination.
    Ctrl+J brings up a box i've never seen

    Ctrl+K+Ctrl+J = nothing
     
  4. LordOfLA

    LordOfLA Godlike!

    Messages:
    7,027
    Location:
    Maidenhead, Berkshire, UK
    If I Remember Correctly

    urbandictionary.com
     
  5. dubstar

    dubstar format c:

    Messages:
    1,357
    Location:
    Southern California
    Last edited: May 19, 2007