resharper

Resharper - Property not documented

Hi, I wanted to know if anyone has worked out how to disable the "Public property 'Foo' is not documented" code inspection in Resharper 4.5 I find this really annoying and would really like to disable it on the R# level Thanks Amar ...

Disable Resharper on a Project/Namespace level?

I don't want resharper to analyze my Test Project which has all my unit tests and mspec specs... It doesn't like them? Is there a way to turn off resharper on a project/namespace level? ...

resharper caret position after delete

When I press the delete key in Resharper, the caret stays where it was. I'm looking for an option or key combination that will place the caret position at the end of the current line after a delete. I know Resharper knows how to do this but I can't seem to find it. Cheers ...

disabling resharper for a vs.net solution

Hi, is it possible to disable resharper from running for a given vs.net solution? ...

What do YOU use ReSharper for?

I'm in the middle of an ASP.NET MVC project and recently installed the free trial of ReSharper 4.5. Immediately I realized the benefits, simply because of the refactoring it wanted me to do. Things like inverting if statements to reduce nesting, changing some of my if/else statements that were returning Views to ?/?? operators - drastic...

Is it usual for ASPX files to take 5-10 seconds to save?

Using Visual Studio 2008 with Resharper, is it usual for ASPX files to take a long time to save? I usually find that it takes up to about 10 seconds on an average PC (18 months old). What is it doing? ...

ReSharper, unused parameters and DbC, asserts, etc.?

If I have the following: void Foo(Bar bar, Baz baz) { // Do something with bar, but not with baz. } ...then ReSharper warns me with "Parameter 'baz' is never used." and colours it grey. This is a useful hint that I might want to get rid of it. On the other hand, if I have the following: void Foo(Bar bar, Baz baz) { Require.A...

Namespaces and folder relation

Ok, I guess do namespaces have to be the same as the nested folders that their in? I keep getting errors saying that the namespace should be xxx.yyy.zzz. Example: Folder1 Folder2 MyControl.cs I have a namespace in it defined as: namespace CustomControls { ... } so the compiler is complaning that it must be namespace...

Can ReSharper generate code that copies properties from one object to another?

I'm looking for a way to accelerate a repeatable task when I write code. I have ReSharper and I'm thinking a customization could do what I need. I have two objects of the same type. I want to copy all of the public properties of one object to the other object. I want the tool, ReSharper in this case, to do generate the code for me. I'l...

Good Tutorial for Resharper Templates

I'm looking to get into some of the more advanced features of resharper tamplates. I know just enough to be dangerous by looking at some of the existing templates. What are some of the more advanced features beyond using a variable name in between dollar signs and using $END$ to show where your cursor goes? What are some good sources ...

Resharper - "Widen Scope" functionality

How do I widen the cope of a variable using ReSharper? from: public class MyClass { public void DoSomething() { string widenMe = null; // i want to widen this } } to: public class MyClass { string widenMe = null; public void DoSomething() { } } Cheers, S ...

visual studio 2008 won't let me drag certain controls

group box, flow layout panel, panel, split container,and tab control do not drag. I believe uninstalling resharper is when it started to happen. I've done a repair on visual studio. I've uninstalled and reinstalled. Any idea where I would look or what is wrong? When I click on the drag icon. the mouse snaps left to the resize handle...

Visual Studio performance and add-ins

Do the useful add-ins (Resharper, StyleCop, etc.) to Visual Studio speed up your work? Or tools need too many resources and you have to wait until each add-in completes execution? [Update]: By the way does some body notice whether performance of IDE + Resharper is better for solutions that contain web sites or web applications? ...

create an interface from a huge class using resharper

Hi, I have a very big class with lots of methods, is it possible to build an interface from this class using resharper? ...

Resharper throws OutOfMemoryException on big solution

IDE Configuration: Visual Studio 2008 + Resharper 4.5.1 + Agent Smith 1.1.8. There is no any sophisticated configuration for last to add-ins. Solution description: 33 class libraries + web site with 200+ pages. Symptoms: After an hour of work under tuned on Resharper the IDE starts to throw the OutOfMemoryExection exceptions. Norma...

Turn off Visual Studio suggestions when using Resharper?

I just started playing with ReSharper and I think I know why ppl love it now :) I'm using Vs2008 TS and noticed I have in editor 2 suggestions currently: one, standard coming from VS, and second from ReSharper... Eg when I entere something like: int a = CalculateMe ( 10 ); (Note: CalculateMe method is not defined yet) So, I can see ...

ReSharper formatting: align equal operands

I like to formatting my code to align right side of equal operands. Like here: bool canRead = false; bool canReadClass = true; string className = boType.Name; I've switch to ReSharper recently and found it very useful but cannot find option allowing me format code in described way. Do you know if there is such option / pl...

How to move private fields to the top of the class with ReSharper

I want to move all the private fields in a class to the top or at least to a block where they are gathered together. Is there any quick way to achieve this with ReSharper? ...

Keyboard Shortcut for Smart Tag in Refactor!

I am trying to get Refactor! for ASP.NET, CodeRush Xpress and Resharper play together. I installed Resharper, then CodeRush Xpress and then Refactor! for ASP.NET. I can't seem to get any menu options for Refactor! or CodeRush. The bracket highlighting is working so I know that it is loading, but the smart tag will not appear (the thre...

Is there a way to have Resharper fix everything on the file (with the first option)

I am doing a lot of refactorings with Resharper. It would be really nice if there was a way to tell Resharper to fix everthing it finds as it sees fit. Anyone know a way to do that? ...