Consider this method (pardon the sad attempt at Chuck Norris humor :) ):
public class ChuckNorrisException : Exception
{
public ChuckNorrisException()
{
}
public ChuckNorrisException(string message)
: base(message)
{
}
public ChuckNorrisException(string message, Exception cause)
: base(messa...
Hi
does anyone know of a way to split all classes in one solution into multiple files?
The point here is that I've inherited a project in which a few hundred files contain a thousand or so classes...
I'd like to be able to get to a 1 file per class approach..
Using resharper I can easily do this manually, but I'm guessing there must b...
i absolutely adore ReSharper and would not work without it, but there are a few gotchas that i have run into and learned to avoid:
Allowing ReSharper to rename string literals automatically can really bite you in such instances as when your object variables match column names in your DAL SQL or other string constants. i have learned th...
I'm trying to run some unit tests in VS 2005 and keep getting the following error
System.IO.FileLoadException: Could not load file or assembly
'Tests.CS.vs2005, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
at System.Refl...
Does anyone know if there is an MSpec installer with R# and/or TestDriven.NET support?
...
Have you used JustCode? is it better than resharper? seems like performance better. Do I need to uninstall resharper before using JustCode?
...
I created an interface in a file, then a class that implements the interface in another file.
If i add a property to the implementation class, is it possible to pass that method signature down to the interface automatically using resharper?
I tried, and it seemed to just create another interface in the same file?
...
Tools like CodeRush and Resharper offer lots of simple refactorings, such as 'Rename Variable'. But if you could have any refactoring feature at all (no matter how complex), what would it be?
(I know, everyone wants a 'make program perfect' refactoring, but let's be realistic here.)
...
using reshaper, is there a quick way to use the last template again?
...
Ok - I feel stupid but if I type a variable Resharper highlights the variable RED and then suggests split declaration and assignment
Now I want this suggestion but I do not want the variable to be red
Is there any way to remove this
I ve looked through all the options and still cannot figure this out
public static void Add<S, D>(List...
how to assign a test file in resharper?
whenever I select 'run tests' it says no test file found.
I created a test project, how do I link it?
...
I've missed all Resharper's colors options in VS tools/options/fonts & colors
(There is no entry started with "Resharper" word)
Is it the way to bring them back ?
...
Im testing latest 5.0 night builds and starting from last build R# installatior has frozen.
I've tried everything
- install / uninstall
- add remove programs / repair
- install previous 4.5 version
- reinstall MSXML
Still same - it hangs at the last step of installation (Uninstalling from VS or Repairing VS)
Only way is killing process
...
I've just started using ReSharper with Visual Studio (after the many recommendations on SO). To try it out I opened up a recent ASP.NET MVC project. One of the first and most frequent things I've noticed it suggesting is to change most/all my explicit declarations to var instead. For example:
//From This:
MyObject foo = DB.MyObjects.Sin...
Hi,
Is there a macro or something in resharper that can extract a DTO from Entity based on the properties. It should take all public properties and just like you can extract interface, extract a DTO with replicating all properties as auto-properties.
...
I have a Black theme for the visual studio editor and it was ok until I've installed resharper. After this my TODO and Note text got really impossible to read, anybody knows a fix for that ?
...
I've got about 650 NUnit tests in my current solution in VS2008, but 40 of these are categorized either as "LongRunning" or "Integration". I do not want these to run every time I've done a change and run my test-suite (only when I specifically ask for it, and on the CI at set times).
Setting this up with TestDriven.Net is a cinch:
Tools...
it something like this method(a,b); and you hit some hotkey and you get method(b,a);
is there such thing ?
...
I love Resharper, but Fxcop is free, and does some bits Resharper does.
My question is what can do more to get best out of Fxcop?
I am using VS2008, and planning to upgrade to VS2010 next March hopefully.
...
I have ReSahrper 4.5 in Visual Studio 2008. Now I want to install ReSharper 5, but I can't do it before I uninstall ReSharper 4.5.
How can I uninstall ReSharper 4.5?
...