Resharper? What's the big deal?
-
Good one. Though I think John eventually became an adopter of multiple monitors. Or at least accepted some of the benefits. :)
Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]
Chris Meech wrote:
I think John eventually became an adopter of multiple monitors
That is funnier than Nemanja's quip! :-D What next, John Simmons in a flowery dress? DD becoming a teetotaller?
Cheers, विक्रम (Got my troika of CCCs!) After all is said and done, much is said and little is done.
-
Pete O'Hanlon wrote:
I use it primarily to get round the INotifyPropertyChanged code smell issue where you have to specify the name of the property in the event argument
What does Resharper do to help with this?
Regards, Nish
My technology blog: voidnish.wordpress.com Code Project Forums : New Posts Monitor This application monitors for new posts in the Code Project forums.
Sorry mate - I was away from the computer for a while - it searches and replaces in strings on the rename as well.
I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be
Forgive your enemies - it messes with their heads
-
Sorry mate - I was away from the computer for a while - it searches and replaces in strings on the rename as well.
I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be
Forgive your enemies - it messes with their heads
Visual Studio's refactor renamer does that as well (optionally).
Phil
The opinions expressed in this post are not necessarily those of the author, especially if you find them impolite, inaccurate or inflammatory.
-
Visual Studio's refactor renamer does that as well (optionally).
Phil
The opinions expressed in this post are not necessarily those of the author, especially if you find them impolite, inaccurate or inflammatory.
Not as reliably, it sometimes balks at sorting out the XAML references. R# doesn't.
I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be
Forgive your enemies - it messes with their heads
-
Sorry mate - I was away from the computer for a while - it searches and replaces in strings on the rename as well.
I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be
Forgive your enemies - it messes with their heads
Pete O'Hanlon wrote:
it searches and replaces in strings on the rename as well.
Ok, that is useful. :)
Regards, Nish
My technology blog: voidnish.wordpress.com Code Project Forums : New Posts Monitor This application monitors for new posts in the Code Project forums.
-
I noticed in the thread about what vs2010 add-ons do you use that a lot of people said re-sharper. I looked at the features and I honestly don't see what it brings that's truly useful beyond what you already get in the IDE. To further refine that question about add-on's can people who use Resharper explain what the exact feature of it is that makes it worth while?
“If you want to build a ship, don't drum up people together to collect wood and don't assign them tasks and work, but rather teach them to long for the endless immensity of the sea” - Antoine de Saint-Exupery
Would you be able to beat a programmer typing with an XBox guitar? See for yourself if you can: "Guitars" PDC09 Promo[^] CodeRush Challenge at PDC 09[^] Guitars and Code with Mark and Mehul[^]
-
I noticed in the thread about what vs2010 add-ons do you use that a lot of people said re-sharper. I looked at the features and I honestly don't see what it brings that's truly useful beyond what you already get in the IDE. To further refine that question about add-on's can people who use Resharper explain what the exact feature of it is that makes it worth while?
“If you want to build a ship, don't drum up people together to collect wood and don't assign them tasks and work, but rather teach them to long for the endless immensity of the sea” - Antoine de Saint-Exupery
I was tasked with refactoring a major component in one of our products recently. It would have been a complete nightmare without resharper. The 'Find usages' tool, 'Safe Delete', 'Move type/method to another namespace', 'reorder/remove method parameters' and various other functions are so very useful in certain circumstances.
---Guy H ;-)---
-
Lots of people where I work swear by it but personally I find it annoys me more than it helps (incorrectly highlighting things as errors which then go away after a clean + rebuild, that kind of thing). The test runner for running nunit tests within VS works quite well though. Many of the refactorings suggested get overused and in my opinion result in worse code than what was there before (such as replacing all the uses of foreach with a .ForEach() lambda which I see as unnecessary) but each to their own I guess....
Well, all the rules are configurable, so just change them to match how you like to code. You can actually set it to recommend you change the .ForEach to a foreach instead. Personally I just started using it, and I like the recommendations - write some sloppy code and it helps identify ways to clean it up - especially nice for some of my co-workers that write really sloppy code or are junior enough that they don't know all the ins and outs, shortcuts and whatnot.
-
I noticed in the thread about what vs2010 add-ons do you use that a lot of people said re-sharper. I looked at the features and I honestly don't see what it brings that's truly useful beyond what you already get in the IDE. To further refine that question about add-on's can people who use Resharper explain what the exact feature of it is that makes it worth while?
“If you want to build a ship, don't drum up people together to collect wood and don't assign them tasks and work, but rather teach them to long for the endless immensity of the sea” - Antoine de Saint-Exupery
Resharper has its fans but, like any add-on, there are those who love it, those who say "why?" and those who hate it. I fall into the first camp. Honestly, Resharper, like any good add-on, does something I could have done myself. After all, isn't that what project templates, snippets, deployment tools, and frameworks in general do? But, like any good add-on, it does it for me in a microsecond, much faster than I ever could and with a lot more quality and consistency. When I rename a method I don't have to figure out if I forgot that last usage when my co-worker walked in my office interrupting me. The IDE itself, and other 3rd party add-ons, do similar things but I've grown used to Resharper and I love the way it works. It just flows. The people at JetBrains (who make Resharper) really know how to write tools that work like a developer, not just something the plug and chugs. Try it and if you like it then use it. If you don't then don't. It's that simple and that's what it comes down to. Again, just like any other good add-on. :)
-
I noticed in the thread about what vs2010 add-ons do you use that a lot of people said re-sharper. I looked at the features and I honestly don't see what it brings that's truly useful beyond what you already get in the IDE. To further refine that question about add-on's can people who use Resharper explain what the exact feature of it is that makes it worth while?
“If you want to build a ship, don't drum up people together to collect wood and don't assign them tasks and work, but rather teach them to long for the endless immensity of the sea” - Antoine de Saint-Exupery
-
There are many things I like about Resharper: * Refactorings - for example ... > being able to convert an auto-property to a property with a backing field because I now need to add behavior in an accessor > being able to convert an anonymous method call into a lambda expression (or back) - which is very useful when teaching coworkers about lambda expressions > there are many others * Static code analysis result indicators in the right margin - where hints/suggestions/warnings/errors are flagged and clickable. * Ctrl+Click - same as F12, but I don't need to move my hand off my trackball. * Letting me know of possible null values (typically from method return values). There are probably other things I like - but I've used R# for so long now that I've forgotten what's R# and what's native to VS. Other things - like identifying naming convention violations - I don't really care about. I know the house rules and don't need to think about them, so don't need a nanny checking up on me.