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. Just found a useful VS extension...

Just found a useful VS extension...

Scheduled Pinned Locked Moved The Lounge
cssvisual-studiocomquestion
11 Posts 9 Posters 2 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.
  • OriginalGriffO Offline
    OriginalGriffO Offline
    OriginalGriff
    wrote on last edited by
    #1

    I was moderating a would-be article which gives a command line app to sort methods in source files, and I thought "It's not an article, but surely you can do this inside VS?" So...a quick google later, I found this: Code Maid[^] It sorts methods (and lines, but that's less useful) into alphabetical order, dumps extra lines, etc. Looks very nice!

    Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

    S P M T A 7 Replies Last reply
    0
    • OriginalGriffO OriginalGriff

      I was moderating a would-be article which gives a command line app to sort methods in source files, and I thought "It's not an article, but surely you can do this inside VS?" So...a quick google later, I found this: Code Maid[^] It sorts methods (and lines, but that's less useful) into alphabetical order, dumps extra lines, etc. Looks very nice!

      Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

      S Offline
      S Offline
      Simon_Whale
      wrote on last edited by
      #2

      I've used it for a while now and I like it, but doesn't format large HTML content well but it does help

      Every day, thousands of innocent plants are killed by vegetarians. Help end the violence EAT BACON

      1 Reply Last reply
      0
      • OriginalGriffO OriginalGriff

        I was moderating a would-be article which gives a command line app to sort methods in source files, and I thought "It's not an article, but surely you can do this inside VS?" So...a quick google later, I found this: Code Maid[^] It sorts methods (and lines, but that's less useful) into alphabetical order, dumps extra lines, etc. Looks very nice!

        Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

        P Offline
        P Offline
        PIEBALDconsult
        wrote on last edited by
        #3

        OriginalGriff wrote:

        and lines

        I hope it has the ability to sort only the lines within a selection. I added the ability to sort (all or selected) lines to my editor a few weeks ago; when you need it, you need it. I used it a couple of times just yesterday.

        OriginalGriffO 1 Reply Last reply
        0
        • P PIEBALDconsult

          OriginalGriff wrote:

          and lines

          I hope it has the ability to sort only the lines within a selection. I added the ability to sort (all or selected) lines to my editor a few weeks ago; when you need it, you need it. I used it a couple of times just yesterday.

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #4

          It does indeed. I know what you mean: I tend to copy'n'paste to PsPad and do sorting and suchlike there as it's quite a bit more powerful than the VS editor - though MS are catching up, very slowly.

          Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            I was moderating a would-be article which gives a command line app to sort methods in source files, and I thought "It's not an article, but surely you can do this inside VS?" So...a quick google later, I found this: Code Maid[^] It sorts methods (and lines, but that's less useful) into alphabetical order, dumps extra lines, etc. Looks very nice!

            Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

            M Offline
            M Offline
            Maximilien
            wrote on last edited by
            #5

            Either it craps out with VS2012 (c++ project) or it does not play well with Visual Assist, but it freezes my VS2012 IDE ... so, uninstall... :thumbsdown:

            I'd rather be phishing!

            M 1 Reply Last reply
            0
            • OriginalGriffO OriginalGriff

              I was moderating a would-be article which gives a command line app to sort methods in source files, and I thought "It's not an article, but surely you can do this inside VS?" So...a quick google later, I found this: Code Maid[^] It sorts methods (and lines, but that's less useful) into alphabetical order, dumps extra lines, etc. Looks very nice!

              Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

              T Offline
              T Offline
              tbim
              wrote on last edited by
              #6

              I've used MZ-Tools for years. Code sorting is one of the many things it does. You can even sort by scope if you want. And it does sorting on selected code. It's not free though (unless you're coding in VB6!!). Worth the price, in my opinion.

              Mike

              1 Reply Last reply
              0
              • OriginalGriffO OriginalGriff

                I was moderating a would-be article which gives a command line app to sort methods in source files, and I thought "It's not an article, but surely you can do this inside VS?" So...a quick google later, I found this: Code Maid[^] It sorts methods (and lines, but that's less useful) into alphabetical order, dumps extra lines, etc. Looks very nice!

                Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                A Offline
                A Offline
                Alexander DiMauro
                wrote on last edited by
                #7

                Has anyone compared this to refactoring in ReSharper? Is it worth it to try if someone already has ReSharper installed? It does seem pretty interesting...

                I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone - Bjarne Stroustrup The world is going to laugh at you anyway, might as well crack the 1st joke! My code has no bugs, it runs exactly as it was written.

                B 1 Reply Last reply
                0
                • OriginalGriffO OriginalGriff

                  I was moderating a would-be article which gives a command line app to sort methods in source files, and I thought "It's not an article, but surely you can do this inside VS?" So...a quick google later, I found this: Code Maid[^] It sorts methods (and lines, but that's less useful) into alphabetical order, dumps extra lines, etc. Looks very nice!

                  Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                  B Offline
                  B Offline
                  Brady Kelly
                  wrote on last edited by
                  #8

                  Looks cool. I was quite put out when I could no longer use ReSharper to sort methods in a class.

                  No object is so beautiful that, under certain conditions, it will not look ugly. - Oscar Wilde

                  1 Reply Last reply
                  0
                  • A Alexander DiMauro

                    Has anyone compared this to refactoring in ReSharper? Is it worth it to try if someone already has ReSharper installed? It does seem pretty interesting...

                    I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone - Bjarne Stroustrup The world is going to laugh at you anyway, might as well crack the 1st joke! My code has no bugs, it runs exactly as it was written.

                    B Offline
                    B Offline
                    BillWoodruff
                    wrote on last edited by
                    #9

                    ReSharper's default sort behavior is alpha, and it jumbles up code elements. Example:

                    private Label cellLabel;
                    private Panel CheapGrid\_Panel;
                    private List ColumnCells;
                    private IContainer components;
                    public Cell CurrentCell;
                    private int currentRow, currentCol, lastRow, lastCol;
                    private bool FloatingEditEnabled;
                    private int left, top;
                    

                    It also will move value fields (int, bool, etc.) so they precede a Form Load method, and put Properties after the Form Load method. In fact, I submitted a suggestion to JetBrains about ten days ago that the default sort should group various types of .NET objects separately, and use at least a blank line to separate the groups. ReSharper does expose a complex api that you could use to customize the sort order: [^], however, I do not have time/motivation to become a ReSharper hacker. ReSharper is an amazingly "deep" tool, and I could not imagine programming without it :) cheers, Bill

                    «I want to stay as close to the edge as I can without going over. Out on the edge you see all kinds of things you can't see from the center» Kurt Vonnegut.

                    1 Reply Last reply
                    0
                    • OriginalGriffO OriginalGriff

                      I was moderating a would-be article which gives a command line app to sort methods in source files, and I thought "It's not an article, but surely you can do this inside VS?" So...a quick google later, I found this: Code Maid[^] It sorts methods (and lines, but that's less useful) into alphabetical order, dumps extra lines, etc. Looks very nice!

                      Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                      M Offline
                      M Offline
                      Member 3156407
                      wrote on last edited by
                      #10

                      No ones mentioned the best bit it's free ... I have used it on and off for literally years it's been around at least 5 The one real goody is the file structure window - like r# and vac It's worth a look it does all sorts of formatting and clean ups Check out VS gallery it's in there Mike

                      Mike

                      1 Reply Last reply
                      0
                      • M Maximilien

                        Either it craps out with VS2012 (c++ project) or it does not play well with Visual Assist, but it freezes my VS2012 IDE ... so, uninstall... :thumbsdown:

                        I'd rather be phishing!

                        M Offline
                        M Offline
                        Member 3156407
                        wrote on last edited by
                        #11

                        Maybe C++ , I had in installed with fax and often r# as well with no issues

                        Mike

                        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