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. Good refactoring tool

Good refactoring tool

Scheduled Pinned Locked Moved The Lounge
csharphtmlvisual-studiocomtutorial
10 Posts 7 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.
  • N Offline
    N Offline
    N a v a n e e t h
    wrote on last edited by
    #1

    Do you have any suggestions for any refactoring tool ? The one which comes with VS is not good. It made my application unusable. I renamed a class using VS refactoring tool. It renamed all references. But when I compiled, I came to know that it's not updating the references written in ASPX (no cs page) pages. Then I have to manually find for the class name and replace. Stupid tool

    All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

    M R B D 4 Replies Last reply
    0
    • N N a v a n e e t h

      Do you have any suggestions for any refactoring tool ? The one which comes with VS is not good. It made my application unusable. I renamed a class using VS refactoring tool. It renamed all references. But when I compiled, I came to know that it's not updating the references written in ASPX (no cs page) pages. Then I have to manually find for the class name and replace. Stupid tool

      All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

      M Offline
      M Offline
      MidwestLimey
      wrote on last edited by
      #2

      I've used ReSharper before now, it's not bad.


      I'm largely language agnostic


      After a while they all bug me :doh:


      O 1 Reply Last reply
      0
      • N N a v a n e e t h

        Do you have any suggestions for any refactoring tool ? The one which comes with VS is not good. It made my application unusable. I renamed a class using VS refactoring tool. It renamed all references. But when I compiled, I came to know that it's not updating the references written in ASPX (no cs page) pages. Then I have to manually find for the class name and replace. Stupid tool

        All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

        R Offline
        R Offline
        R Giskard Reventlov
        wrote on last edited by
        #3

        Your brain.

        bin the spin home

        E 1 Reply Last reply
        0
        • M MidwestLimey

          I've used ReSharper before now, it's not bad.


          I'm largely language agnostic


          After a while they all bug me :doh:


          O Offline
          O Offline
          Oakman
          wrote on last edited by
          #4

          I've usd Resharper as well. It did what I needed it to do, with a minimum of fuss - which is not to say that it'll do what you need.

          Jon Smith & Wesson: The original point and click interface

          1 Reply Last reply
          0
          • R R Giskard Reventlov

            Your brain.

            bin the spin home

            E Offline
            E Offline
            El Corazon
            wrote on last edited by
            #5

            digital man wrote:

            Your brain.

            I know someone voted you down because it is a pain to do everything by scratch... but I voted 5 for specific reasons. Even if you use a tool to assist in refactoring, knowing exactly WHAT that tool is doing for every option you choose is priceless knowledge. Things often break when you don't understand the risk involved in the operation you are doing, or the implications to the complexity of your application. I am often reminded of the old "replace all" which was the very first refactor that got everyone in trouble. A rename operation seems sooooo easy, but when done with an editor's "replace all" function is so inherently dangerous that it should always be done with a bit of forethought before hitting that button. The brain, the knowledge of how something works whether you are doing it from scratch or using a tool to help you, is extremely important. Now if only I could get mine to work before coffee.

            _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

            M 1 Reply Last reply
            0
            • N N a v a n e e t h

              Do you have any suggestions for any refactoring tool ? The one which comes with VS is not good. It made my application unusable. I renamed a class using VS refactoring tool. It renamed all references. But when I compiled, I came to know that it's not updating the references written in ASPX (no cs page) pages. Then I have to manually find for the class name and replace. Stupid tool

              All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

              B Offline
              B Offline
              Bob Flynn
              wrote on last edited by
              #6

              I have been using Visual Assist for years. I think it is great.

              D 1 Reply Last reply
              0
              • E El Corazon

                digital man wrote:

                Your brain.

                I know someone voted you down because it is a pain to do everything by scratch... but I voted 5 for specific reasons. Even if you use a tool to assist in refactoring, knowing exactly WHAT that tool is doing for every option you choose is priceless knowledge. Things often break when you don't understand the risk involved in the operation you are doing, or the implications to the complexity of your application. I am often reminded of the old "replace all" which was the very first refactor that got everyone in trouble. A rename operation seems sooooo easy, but when done with an editor's "replace all" function is so inherently dangerous that it should always be done with a bit of forethought before hitting that button. The brain, the knowledge of how something works whether you are doing it from scratch or using a tool to help you, is extremely important. Now if only I could get mine to work before coffee.

                _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

                M Offline
                M Offline
                MidwestLimey
                wrote on last edited by
                #7

                I almost never take that approach. Much better to rename the member and then compile, you get a nice annotated list of what to fix.


                I'm largely language agnostic


                After a while they all bug me :doh:


                R 1 Reply Last reply
                0
                • M MidwestLimey

                  I almost never take that approach. Much better to rename the member and then compile, you get a nice annotated list of what to fix.


                  I'm largely language agnostic


                  After a while they all bug me :doh:


                  R Offline
                  R Offline
                  R Giskard Reventlov
                  wrote on last edited by
                  #8

                  I'm (very) old school and still prefer to use my eyes and my brain when coding (still hand carve all markup, etc). Also, if you need to constantly refactor you've got bigger problems anyway. Just the way I was taught.

                  bin the spin home

                  1 Reply Last reply
                  0
                  • B Bob Flynn

                    I have been using Visual Assist for years. I think it is great.

                    D Offline
                    D Offline
                    Derek Bartram
                    wrote on last edited by
                    #9

                    I've used that recently too, it gets a thumbs up from me.... although I wouldn't personally shell out pennies for it, it wasn't THAT good (trial version available on their website)

                    1 Reply Last reply
                    0
                    • N N a v a n e e t h

                      Do you have any suggestions for any refactoring tool ? The one which comes with VS is not good. It made my application unusable. I renamed a class using VS refactoring tool. It renamed all references. But when I compiled, I came to know that it's not updating the references written in ASPX (no cs page) pages. Then I have to manually find for the class name and replace. Stupid tool

                      All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

                      D Offline
                      D Offline
                      Derek Bartram
                      wrote on last edited by
                      #10

                      Don't use the wrong name in the first place..... If you design the code first they you can refactor all day on the design and implement once you are sorted.

                      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