Questions tagged [resharper-8.0]

Use this tag for version specific questions about ReSharper 8.0 - the refactoring and productivity extension for Visual Studio by JetBrains. When using this tag also include the more generic [resharper] tag where possible.

ReSharper executes solution-wide static code analysis (error detection on-the-fly, without the need to compile), provides additional features for error correction, code completion, navigation, search, syntax highlighting, formatting, code generation and optimization, carries out 40 automated refactorings, and streamlines unit testing using NUnit and MSTest, among other features.

ReSharper 8 was released in july, 18th 2013 and add support for Visual Studio 2013 Preview while preserving compatibility with previous versions of the IDE, namely Visual Studio 2005, 2008, 2010 and 2012

105 questions
1
vote
1 answer

ReSharper suggests a wrong "Expression is always true"

I found this bug in my current project and then I reproduced in a very simple code, which I share here. I'm using ReSharper 8.0.2 and Visual Studio 2013. class Program { static void Main(string[] args) { var orders = new List
1
vote
1 answer

How do I create a `ITypeElement` with represents a closed generic type in a ReSharper plugin?

I'm using the ReSharper 8 sdk and want to find all inheritors of a particular generic interface, where the generic type is a particular type. I have asked a more general question which got most of the way there, but I am only able to find any…
Sam Holder
  • 32,535
  • 13
  • 101
  • 181
1
vote
1 answer

Is there a settings file which will configure shortcuts for ALL Visual Studio and ReSharper commands

I love shortcuts. Currently I have to configure many of the shortcuts manually in Visual Studio/ReSharper because by default many commands don't have keyboard shortcuts. Is there any way to configure shortcuts for ALL commands? I really want to…
niaher
  • 9,460
  • 7
  • 67
  • 86
1
vote
1 answer

resharper 8.1 compatibility to StyleCop

I have VS2013, and want to work with resharper and style cop together in the IDE (have all the notifications of style cop, all the quick fixes together) installed Resharper 8.1 Installed latest StyleCop-4.7.49.0 Configured my .csproj to work with…
user1025852
  • 2,684
  • 11
  • 36
  • 58
1
vote
1 answer

Use ReSharper TaskRunner in 32 and 64 bit

I am trying to use ReSharper TaskRunner to run unit tests on a 64-bit assembly. However, for some reason ReSharper keeps starting JetBrains.ReSharper.TaskRunner.CLR4.exe which is a 32-bit app. I made sure that my assembly specifies 64-bit…
Alex Gdalevich
  • 685
  • 7
  • 15
1
vote
0 answers

ReSharper doesn't suppress a warning

I'm using ReSharper and StyleCop to impose some naming conventions. I have a rule for a class name to start with an upper case. In some classes, however, I need to violate the rule (when naming classes that are direct map from my database I want…
PiotrWolkowski
  • 8,408
  • 6
  • 48
  • 68
1
vote
1 answer

Can Resharper move any code blocks to another #region?

I used CodeRush @DevExpress. It have member icons and you can easily code blocks move to any #region. But I didn't do that in ReSharper. I hope find a solution. Coderush doing it like this:
1
vote
1 answer

Resharper: Ambiguous Invocation

Using Resharper I get the following message: Ambiguous InvocationSolution ITicket.sln Project ITicket ITicket\frmMainTicket.cs:530 Ambiguous invocation: void DisableAllFields() (in class frmMainTicket) void DisableAllFields() …
Anthony
  • 193
  • 1
  • 13
1
vote
1 answer

Resharper - VisualStudio 2012 Custom Shortcut to Replace Selection

In the web project I have been working on, we have string literals all over like
This is Title
This is some text
In order to make the application multilingual, I need to replace all these literals to…
SadullahCeran
  • 2,425
  • 4
  • 20
  • 34
1
vote
1 answer

How to make resharper to recognize JSon as incorrect abbreviation

One of my colleagues likes to spell Json in identifiers as JSon. How can I make Resharper to detect that JSon is an incorrect abbreviation and to suggest valid spelling?
Ilya
  • 21,871
  • 8
  • 73
  • 92
1
vote
2 answers

How to create a ReSharper 8.X Custom Macro that can fetch and process the containing type name

ReSharper 8.X ships with a macro that fetches the "Containing Type Name", but what I want to do is manipulate that name. I'm using this in a Visual Studio 2013 Web API project, and I want a template that takes the class name and builds the URL that…
1
vote
1 answer

ReSharper 8.1 (8.0, 7.1) hotkey schema doesn't have some hotkeys in MS Visual Studio 2012

After installing Visual Studio 2012 and ReSharper 8.1 (8.0, 7.1), the second one asks for choosing hotkey schema. I choose ReSharper 2.x or IntelliJ IDEA. After that in menu ReSharper > Navigate some menu items have hotkeys (such as Go to File…
1
vote
0 answers

Custom localize refactoring with context action in C# using ReSharper 8.2 SDK

Localization in our .NET 4.0 C# project is basically the following: MyCompany.Resources.dll contains two RESX files: A.resx and B.resx with their localized counterparts (A_de.resx, B_hu.resx, etc.). These files consist of the usual RESX xml…
harry
  • 156
  • 1
  • 6
1
vote
2 answers

VS2013 IntelliSense overlapping ReSharper's one

After installing ReSharper I've noticed a problem with the IntelliSense; In the image it is clearly visible that the IntelliSense of Visual Studio is displayed over the one of ReSharper (which by the way has the focus, so using the arrow keys…
1
vote
1 answer

Referencing Javascript Dependencies in Typescript Unit Test with Resharper

I'm writing an integration test to cover some Typescript classes that I've got, and those Typescript classes have dependencies on third-party JS libraries. The Integration test is also written in Typescript. When I run the test using Resharper's…
Simon Green
  • 1,131
  • 1
  • 10
  • 28