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. Refactoring in VS 2005...

Refactoring in VS 2005...

Scheduled Pinned Locked Moved The Lounge
30 Posts 20 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.
  • C Christian Graus

    According to my experience, and the comments from the C# IDE team, the project size is directly responsible for the time it takes to refactor.

    Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

    S Offline
    S Offline
    Super Lloyd
    wrote on last edited by
    #16

    Well, at least according to my own experience, I could say for a project of 700file / 6MB of C# the refactoring should be fast ;) But, as I say, I mostly use refactoring for renaming... (although I have reordered parameter once...) I could also say that defragmenting the hard drive speed up the VisualStudio experience....

    1 Reply Last reply
    0
    • C Chris Maunder

      ...is as slow as a wet week. I'm bored.

      cheers, Chris Maunder

      CodeProject.com : C++ MVP

      S Offline
      S Offline
      Stuart Dootson
      wrote on last edited by
      #17

      I use Visual Assist[^] for all my refactoring needs - mainly 'cause I do C++ on VS2003, but it'll do C# and (I think) VB as well, on VS6, 2003 and 2005. Most productive £70 I've ever spent on software, IMO.

      1 Reply Last reply
      0
      • C Chris Maunder

        ...is as slow as a wet week. I'm bored.

        cheers, Chris Maunder

        CodeProject.com : C++ MVP

        D Offline
        D Offline
        Daniel Turini
        wrote on last edited by
        #18

        Use Resharper: it's better and smarter. And the refactoring is damn fast! (but your whole IDE will be slower)

        1 Reply Last reply
        0
        • D David Stone

          Yeah. Eclipse has way more awesome refactoring tools than VS2005 does. I'm always shocked when I go back to VS (for work) from Eclipse (for school) and find that I have to manually refactor stuff.

          J Offline
          J Offline
          Jon W
          wrote on last edited by
          #19

          Heard of Refactor from devexpress? http://www.devexpress.com/Products/NET/IDETools/Refactor/ [Free versions] Refactor!™ for Visual Basic® .NET 2005 http://www.devexpress.com/Products/NET/IDETools/VBRefactor/ Refactor!™ for ASP.NET http://www.devexpress.com/Products/NET/IDETools/RefactorASP/ Refactor!™ for C++ http://www.devexpress.com/Products/NET/IDETools/RefactorCPP/

          A 1 Reply Last reply
          0
          • J Jon W

            Heard of Refactor from devexpress? http://www.devexpress.com/Products/NET/IDETools/Refactor/ [Free versions] Refactor!™ for Visual Basic® .NET 2005 http://www.devexpress.com/Products/NET/IDETools/VBRefactor/ Refactor!™ for ASP.NET http://www.devexpress.com/Products/NET/IDETools/RefactorASP/ Refactor!™ for C++ http://www.devexpress.com/Products/NET/IDETools/RefactorCPP/

            A Offline
            A Offline
            Andrew Drummond
            wrote on last edited by
            #20

            yep, it seems to do a good impression of Intellisense in causing my VS SP1 to go very busy for significant periods of time. I tried working outside my clearcase integration but still slow. Shame, might try emailing them about it. Otherwise I use Whoile Tomato for the few refactorings it does. May it conflicts with Whole Tomato? Andrew

            1 Reply Last reply
            0
            • S Super Lloyd

              I guess you mean "C++ refactoring", ain't you? It's all good in! C# :-D

              A Offline
              A Offline
              Arjan Keene
              wrote on last edited by
              #21

              Try Resharper

              1 Reply Last reply
              0
              • C Chris Maunder

                ...is as slow as a wet week. I'm bored.

                cheers, Chris Maunder

                CodeProject.com : C++ MVP

                M Offline
                M Offline
                MattPenner
                wrote on last edited by
                #22

                I used refactorings all the time in IntelliJ (Java IDE from JetBrains). It was smooth, fast, and had a ton of great refactorings. They do have a C# refactoring package - ReSharper (http://www.jetbrains.com/resharper/index.html[^]). Unfortunately my current employer is VB only so I can't use it. Has anyone tried ReSharper from JetBrains? Matt

                J K 2 Replies Last reply
                0
                • C Christian Graus

                  Super Lloyd wrote:

                  No, I mean I could rename a method, property or even a namespace in a few seconds

                  It depends entirely on the size of your project.

                  Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                  J Offline
                  J Offline
                  Jasmine2501
                  wrote on last edited by
                  #23

                  I have an extremely large project, a C# Windows application, and almost anything I do that involves refactoring, renaming, or whatever, takes 1.5 to 2 minutes to complete. That's not very long compared to older tools that used to take all night to do things like that, but it's that length of time which is too short to switch to something else, but still quite a long time to stare at the screen, so it hurts your productivity.

                  "Quality Software since 1983!"
                  http://www.smoothjazzy.com/ - see the "Programming" section for freeware tools and articles.

                  1 Reply Last reply
                  0
                  • H Hsiang Tai Chien

                    That's why the 3rd party add-on vendors can make a living....

                    Think Different, Do Smarter, Work for Joy!!

                    J Offline
                    J Offline
                    JMOdom
                    wrote on last edited by
                    #24

                    Who's Joy? ;P

                    H 1 Reply Last reply
                    0
                    • M MattPenner

                      I used refactorings all the time in IntelliJ (Java IDE from JetBrains). It was smooth, fast, and had a ton of great refactorings. They do have a C# refactoring package - ReSharper (http://www.jetbrains.com/resharper/index.html[^]). Unfortunately my current employer is VB only so I can't use it. Has anyone tried ReSharper from JetBrains? Matt

                      J Offline
                      J Offline
                      JMOdom
                      wrote on last edited by
                      #25

                      Please excuse my ignorance as I'm new to coding. Just what is Refactoring and why do you do it? Thanks. :doh:

                      H 1 Reply Last reply
                      0
                      • J JMOdom

                        Who's Joy? ;P

                        H Offline
                        H Offline
                        Hsiang Tai Chien
                        wrote on last edited by
                        #26

                        Well, you know who he is. :)

                        "Think Different, Do Smarter, Work for Joy!!"

                        1 Reply Last reply
                        0
                        • J JMOdom

                          Please excuse my ignorance as I'm new to coding. Just what is Refactoring and why do you do it? Thanks. :doh:

                          H Offline
                          H Offline
                          Hsiang Tai Chien
                          wrote on last edited by
                          #27

                          Check Wikipedia: Code Refactoring and What is Refactoring? Also the book "Refactoring". ----

                          "Think Different, Do Smarter, Work for Joy!!"

                          1 Reply Last reply
                          0
                          • M MattPenner

                            I used refactorings all the time in IntelliJ (Java IDE from JetBrains). It was smooth, fast, and had a ton of great refactorings. They do have a C# refactoring package - ReSharper (http://www.jetbrains.com/resharper/index.html[^]). Unfortunately my current employer is VB only so I can't use it. Has anyone tried ReSharper from JetBrains? Matt

                            K Offline
                            K Offline
                            Kevin McFarlane
                            wrote on last edited by
                            #28

                            MattPenner wrote:

                            Unfortunately my current employer is VB only so I can't use it.

                            VB .NET? then use Dev Express's free Refactor! for VB tool (only free for VB 2005 though). I too am using VB in my current contract. I started with the free Refactor! Then I bought Refactor! Pro. I've also used Resharper a bit in the past. Both products are good, though not perfect. However, both are way better than VS's built-in refactoring, despite some performance problems. It also appears that Eclipse's refactoring is better than anything on offer for VS at the moment. One of the posters here says that, as does one of my colleagues who's in Java mode at the moment.

                            Kevin

                            1 Reply Last reply
                            0
                            • C Chris Maunder

                              ...is as slow as a wet week. I'm bored.

                              cheers, Chris Maunder

                              CodeProject.com : C++ MVP

                              M Offline
                              M Offline
                              Markus Gallagher
                              wrote on last edited by
                              #29

                              I use Resharper from Jetbrains... starting up VS is a little slower, however the refactorings are super speedy - does a great job caching and giving u edit time compilation checking.

                              1 Reply Last reply
                              0
                              • A Anton Afanasyev

                                Christian Graus wrote:

                                The average refactoring takes slightly longer than a full build.

                                Now that you mention that, I think I know how they implemented refactoring...they compile it all, then let the runtime optimize it, then decompile it all. Yeah....:)


                                :badger:

                                J Offline
                                J Offline
                                Jason19870211zjx
                                wrote on last edited by
                                #30

                                what do u say???

                                .....

                                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