Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Beautifiers

Beautifiers

Scheduled Pinned Locked Moved The Lounge
c++questionworkspace
27 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dy
    wrote on last edited by
    #1

    I'm looking for a c++ source code beautifier ("pretty printer"?), preferable one that can work with MSVC projects / workspace, and one with source code would be cool too ;). Anyone know of a half decent one? Getting really sick of wadding through other peoples badly maintained code trying to find the cause of bugs...


    Dylan

    "In meetings, the person who is least competent usually does the most talking. Talking is a direct substitute for competence, at least in the minds of other people. Five minutes after you leave a meeting, you won't remember what anyone said but you will remember who did most of the talking. Withing a day your mind will translate that into a notion that the talker was unusually knowledgeable" - Scott Adams, Dilbert and the way of the weasel

    J J R L P 6 Replies Last reply
    0
    • D Dy

      I'm looking for a c++ source code beautifier ("pretty printer"?), preferable one that can work with MSVC projects / workspace, and one with source code would be cool too ;). Anyone know of a half decent one? Getting really sick of wadding through other peoples badly maintained code trying to find the cause of bugs...


      Dylan

      "In meetings, the person who is least competent usually does the most talking. Talking is a direct substitute for competence, at least in the minds of other people. Five minutes after you leave a meeting, you won't remember what anyone said but you will remember who did most of the talking. Withing a day your mind will translate that into a notion that the talker was unusually knowledgeable" - Scott Adams, Dilbert and the way of the weasel

      J Offline
      J Offline
      Jonathan Darka
      wrote on last edited by
      #2

      I don't want to be offensive :), but why don't you write "nice" code in the first place ? I presume its code which belongs to another developer. Regards, Dark Angel

      D 1 Reply Last reply
      0
      • D Dy

        I'm looking for a c++ source code beautifier ("pretty printer"?), preferable one that can work with MSVC projects / workspace, and one with source code would be cool too ;). Anyone know of a half decent one? Getting really sick of wadding through other peoples badly maintained code trying to find the cause of bugs...


        Dylan

        "In meetings, the person who is least competent usually does the most talking. Talking is a direct substitute for competence, at least in the minds of other people. Five minutes after you leave a meeting, you won't remember what anyone said but you will remember who did most of the talking. Withing a day your mind will translate that into a notion that the talker was unusually knowledgeable" - Scott Adams, Dilbert and the way of the weasel

        J Offline
        J Offline
        Justin Hallet
        wrote on last edited by
        #3

        I looked at SourceStyle from Orche, www.ochre.com, very nice supports template styles and preview, plugs directly into MSVC, but its not free.

        1 Reply Last reply
        0
        • D Dy

          I'm looking for a c++ source code beautifier ("pretty printer"?), preferable one that can work with MSVC projects / workspace, and one with source code would be cool too ;). Anyone know of a half decent one? Getting really sick of wadding through other peoples badly maintained code trying to find the cause of bugs...


          Dylan

          "In meetings, the person who is least competent usually does the most talking. Talking is a direct substitute for competence, at least in the minds of other people. Five minutes after you leave a meeting, you won't remember what anyone said but you will remember who did most of the talking. Withing a day your mind will translate that into a notion that the talker was unusually knowledgeable" - Scott Adams, Dilbert and the way of the weasel

          R Offline
          R Offline
          Rage
          wrote on last edited by
          #4

          Dylan Kenneally wrote: c++ source code beautifier :omg: Never heard of such a thing ! What does it do ? change m_pmyf***ingpointer into m_pmyohsonicepointer ;P ? ~RaGE();

          J 1 Reply Last reply
          0
          • D Dy

            I'm looking for a c++ source code beautifier ("pretty printer"?), preferable one that can work with MSVC projects / workspace, and one with source code would be cool too ;). Anyone know of a half decent one? Getting really sick of wadding through other peoples badly maintained code trying to find the cause of bugs...


            Dylan

            "In meetings, the person who is least competent usually does the most talking. Talking is a direct substitute for competence, at least in the minds of other people. Five minutes after you leave a meeting, you won't remember what anyone said but you will remember who did most of the talking. Withing a day your mind will translate that into a notion that the talker was unusually knowledgeable" - Scott Adams, Dilbert and the way of the weasel

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            Dylan Kenneally wrote: I'm looking for a c++ source code beautifier ("pretty printer"?), preferable one that can work with MSVC projects / workspace, and one with source code would be cool too ;) What about Reformat Source Code by our very own Alvaro Mendez[^] Michael Martin Australia mjm68@tpg.com.au "I personally love it because I can get as down and dirty as I want on the backend, while also being able to dabble with fun scripting and presentation games on the front end." - Chris Maunder 15/07/2002

            N D 2 Replies Last reply
            0
            • D Dy

              I'm looking for a c++ source code beautifier ("pretty printer"?), preferable one that can work with MSVC projects / workspace, and one with source code would be cool too ;). Anyone know of a half decent one? Getting really sick of wadding through other peoples badly maintained code trying to find the cause of bugs...


              Dylan

              "In meetings, the person who is least competent usually does the most talking. Talking is a direct substitute for competence, at least in the minds of other people. Five minutes after you leave a meeting, you won't remember what anyone said but you will remember who did most of the talking. Withing a day your mind will translate that into a notion that the talker was unusually knowledgeable" - Scott Adams, Dilbert and the way of the weasel

              P Offline
              P Offline
              Paul Selormey
              wrote on last edited by
              #6

              No MSVC integration, commandline; I will recommend AStyle. Of course, you can use it as a tool in the MSVC. Best regards, Paul. Jesus Christ is LOVE! Please tell somebody.

              1 Reply Last reply
              0
              • R Rage

                Dylan Kenneally wrote: c++ source code beautifier :omg: Never heard of such a thing ! What does it do ? change m_pmyf***ingpointer into m_pmyohsonicepointer ;P ? ~RaGE();

                J Offline
                J Offline
                Jorgen Sigvardsson
                wrote on last edited by
                #7

                It indents code (more or less) -- Only in a world this shitty could you even try to say these were innocent people and keep a straight face.

                N 1 Reply Last reply
                0
                • D Dy

                  I'm looking for a c++ source code beautifier ("pretty printer"?), preferable one that can work with MSVC projects / workspace, and one with source code would be cool too ;). Anyone know of a half decent one? Getting really sick of wadding through other peoples badly maintained code trying to find the cause of bugs...


                  Dylan

                  "In meetings, the person who is least competent usually does the most talking. Talking is a direct substitute for competence, at least in the minds of other people. Five minutes after you leave a meeting, you won't remember what anyone said but you will remember who did most of the talking. Withing a day your mind will translate that into a notion that the talker was unusually knowledgeable" - Scott Adams, Dilbert and the way of the weasel

                  N Offline
                  N Offline
                  Nish Nishant
                  wrote on last edited by
                  #8

                  Doesnt Visual Studio already do that for you? Code formatting? Nish


                  Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

                  M 1 Reply Last reply
                  0
                  • L Lost User

                    Dylan Kenneally wrote: I'm looking for a c++ source code beautifier ("pretty printer"?), preferable one that can work with MSVC projects / workspace, and one with source code would be cool too ;) What about Reformat Source Code by our very own Alvaro Mendez[^] Michael Martin Australia mjm68@tpg.com.au "I personally love it because I can get as down and dirty as I want on the backend, while also being able to dabble with fun scripting and presentation games on the front end." - Chris Maunder 15/07/2002

                    N Offline
                    N Offline
                    Nish Nishant
                    wrote on last edited by
                    #9

                    Hello MM, I wasnt regular here for a while, so I missed your job news. Care to update me? Nish


                    Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

                    L 1 Reply Last reply
                    0
                    • N Nish Nishant

                      Doesnt Visual Studio already do that for you? Code formatting? Nish


                      Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

                      M Offline
                      M Offline
                      Michael P Butler
                      wrote on last edited by
                      #10

                      Yeah, it has this wonderful feature called the tab key. :-D Michael Fat bottomed girls You make the rockin' world go round -- Queen

                      N 1 Reply Last reply
                      0
                      • J Jorgen Sigvardsson

                        It indents code (more or less) -- Only in a world this shitty could you even try to say these were innocent people and keep a straight face.

                        N Offline
                        N Offline
                        Nish Nishant
                        wrote on last edited by
                        #11

                        Jörgen Sigvardsson wrote: It indents code (more or less) But Visual studio already does that for you. And can do it for currently unindented code blocks too. Nish


                        Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

                        B J 2 Replies Last reply
                        0
                        • N Nish Nishant

                          Jörgen Sigvardsson wrote: It indents code (more or less) But Visual studio already does that for you. And can do it for currently unindented code blocks too. Nish


                          Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

                          B Offline
                          B Offline
                          Brian Delahunty
                          wrote on last edited by
                          #12

                          Nishant S wrote: And can do it for currently unindented code blocks too. Yep. Ctrl+k, Ctrl+F isn't it??? It was Alt+F8 in VS 6 I think. Regards, Brian Dela :-)

                          N D 2 Replies Last reply
                          0
                          • B Brian Delahunty

                            Nishant S wrote: And can do it for currently unindented code blocks too. Yep. Ctrl+k, Ctrl+F isn't it??? It was Alt+F8 in VS 6 I think. Regards, Brian Dela :-)

                            N Offline
                            N Offline
                            Nish Nishant
                            wrote on last edited by
                            #13

                            Brian Delahunty wrote: Yep. Ctrl+k, Ctrl+F isn't it??? It was Alt+F8 in VS 6 I think. Yup Nish


                            Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

                            B 1 Reply Last reply
                            0
                            • M Michael P Butler

                              Yeah, it has this wonderful feature called the tab key. :-D Michael Fat bottomed girls You make the rockin' world go round -- Queen

                              N Offline
                              N Offline
                              Nish Nishant
                              wrote on last edited by
                              #14

                              Michael P Butler wrote: Yeah, it has this wonderful feature called the tab key. I actually meant the block code formatter :-) Nish


                              Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

                              1 Reply Last reply
                              0
                              • B Brian Delahunty

                                Nishant S wrote: Yup Cool. So my memory isn't as bad as I thought. Cool. Regards, Brian Dela :-)

                                N Offline
                                N Offline
                                Nish Nishant
                                wrote on last edited by
                                #15

                                Brian Delahunty wrote: Cool. So my memory isn't as bad as I thought. Cool. What made you think your memory is bad? Any previous experiences that gave you this conclusion? Nish


                                Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

                                B 1 Reply Last reply
                                0
                                • N Nish Nishant

                                  Brian Delahunty wrote: Yep. Ctrl+k, Ctrl+F isn't it??? It was Alt+F8 in VS 6 I think. Yup Nish


                                  Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

                                  B Offline
                                  B Offline
                                  Brian Delahunty
                                  wrote on last edited by
                                  #16

                                  Nishant S wrote: Yup Cool. So my memory isn't as bad as I thought. Cool. Regards, Brian Dela :-)

                                  N 1 Reply Last reply
                                  0
                                  • N Nish Nishant

                                    Brian Delahunty wrote: Cool. So my memory isn't as bad as I thought. Cool. What made you think your memory is bad? Any previous experiences that gave you this conclusion? Nish


                                    Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

                                    B Offline
                                    B Offline
                                    Brian Delahunty
                                    wrote on last edited by
                                    #17

                                    Nishant S wrote: What made you think your memory is bad? Any previous experiences that gave you this conclusion? I forgot to do a load of things this morning before I came into college. I forgot to go to the bank, to ring home, to pay the tv rental and I forgot my bus pass... arrraaagghhhh!!!! :mad: My mind is elsewhere at the moment! Regards, Brian Dela :-)

                                    N 1 Reply Last reply
                                    0
                                    • B Brian Delahunty

                                      Nishant S wrote: What made you think your memory is bad? Any previous experiences that gave you this conclusion? I forgot to do a load of things this morning before I came into college. I forgot to go to the bank, to ring home, to pay the tv rental and I forgot my bus pass... arrraaagghhhh!!!! :mad: My mind is elsewhere at the moment! Regards, Brian Dela :-)

                                      N Offline
                                      N Offline
                                      Nish Nishant
                                      wrote on last edited by
                                      #18

                                      Brian Delahunty wrote: My mind is elsewhere at the moment! Perhaps there is this young lady? ;-) Nish


                                      Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

                                      B 1 Reply Last reply
                                      0
                                      • N Nish Nishant

                                        Brian Delahunty wrote: My mind is elsewhere at the moment! Perhaps there is this young lady? ;-) Nish


                                        Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

                                        B Offline
                                        B Offline
                                        Brian Delahunty
                                        wrote on last edited by
                                        #19

                                        Nishant S wrote: Perhaps there is this young lady? Yep. Your right :rose:. At the moment I'm trying to sort out flights to Germany. It's only €60 return to frankfurt [:-D] if I fly out on the 31st of Dec and fly back on the 6th of Jan[starting back in college on the 6th :rolleyes:] but I'm trying to get the time off from work [which should be easy enough :-)] and trying to get an advance on my wages [which should be near impossible :mad:] because I don't get paid until the 3rd of Janurary!!! Regards, Brian Dela :-)

                                        N 1 Reply Last reply
                                        0
                                        • B Brian Delahunty

                                          Nishant S wrote: Perhaps there is this young lady? Yep. Your right :rose:. At the moment I'm trying to sort out flights to Germany. It's only €60 return to frankfurt [:-D] if I fly out on the 31st of Dec and fly back on the 6th of Jan[starting back in college on the 6th :rolleyes:] but I'm trying to get the time off from work [which should be easy enough :-)] and trying to get an advance on my wages [which should be near impossible :mad:] because I don't get paid until the 3rd of Janurary!!! Regards, Brian Dela :-)

                                          N Offline
                                          N Offline
                                          Nish Nishant
                                          wrote on last edited by
                                          #20

                                          Brian Delahunty wrote: Yep. Your right . At the moment I'm trying to sort out flights to Germany. It's only €60 return to frankfurt [] if I fly out on the 31st of Dec and fly back on the 6th of Jan[starting back in college on the 6th ] but I'm trying to get the time off from work [which should be easy enough ] and trying to get an advance on my wages [which should be near impossible ] because I don't get paid until the 3rd of Janurary!!! Good luck Brian. I hope you are able to visit her and that you have a jolly good time together :-) Nish


                                          Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups