Refactoring in VS 2005...
-
I thought nobody is using it.. :~
[Frozen Thoughts]
Nobody can give you wiser advice than yourself. - Cicero ப்ரம்மா -
No, I mean I could rename a method, property or even a namespace in a few seconds. Although, granted, sometimes it is slower than other, but it's not related to the number of file to modify. It's related to something else (and much more mysterious). I used refactoring essentially renaming...
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 )
-
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 )
I think it depends... of something more mysterious.... I have about 757 C# files for 6.5MB of source code. The time really varies for no apparent reason, but is mostly good... i.e. sometimes it want to recompile the project first, and it is slow, otherwise it's fast.
-
I think it depends... of something more mysterious.... I have about 757 C# files for 6.5MB of source code. The time really varies for no apparent reason, but is mostly good... i.e. sometimes it want to recompile the project first, and it is slow, otherwise it's fast.
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 )
-
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 )
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....
-
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.
-
Use Resharper: it's better and smarter. And the refactoring is damn fast! (but your whole IDE will be slower)
-
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.
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/
-
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/
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
-
I guess you mean "C++ refactoring", ain't you? It's all good in! C# :-D
Try Resharper
-
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
-
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 )
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. -
That's why the 3rd party add-on vendors can make a living....
Think Different, Do Smarter, Work for Joy!!
-
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
-
Well, you know who he is. :)
"Think Different, Do Smarter, Work for Joy!!"
-
Please excuse my ignorance as I'm new to coding. Just what is Refactoring and why do you do it? Thanks. :doh:
Check Wikipedia: Code Refactoring and What is Refactoring? Also the book "Refactoring". ----
"Think Different, Do Smarter, Work for Joy!!"
-
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
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
-
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.
-
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:
what do u say???
.....