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
9
votes
3 answers

Resharper vs2013 CTRL+Click not working

I have installed reshaper 8.1.23 and visual studio 2013 update 1. I'd like to navigate to assembly when I hold Ctrl + click. for example holding Ctrl on IdentityUser class and Click should bring IdentityUser class but nothing happen. I also have…
Amir Jalali
  • 3,132
  • 4
  • 33
  • 46
8
votes
1 answer

A possible Resharper Bug or am I just missing something subtle?

Here you can see how ReSharper is suggesting a change Now here you can see how Resharper is changing up the code but the result is not correct because it is newing up a class, assigning a value to a property on it and then returning a totally new…
AvetisCodes
  • 1,375
  • 2
  • 11
  • 31
8
votes
1 answer

Is it possible to create an extension method using ReSharper?

I would like to Alt+Enter on the Update method below (it doesn't exist) to create a new extension method. Is there a way to do this in ReSharper? List existingTeams = GetFootyTeams(); List newTeams =…
atreeon
  • 21,799
  • 13
  • 85
  • 104
8
votes
2 answers

Putting Resharper's ignored errors under version control

When I ignore specific errors in "Errors in Solution" window, Resharper remembers this setting. I tried to reboot and restart Visual Studio, the ignored errors stayed ignored. Now I wanted to pass the ignored errors list to another programmers in…
8
votes
2 answers

Resharper warns about a null string (System.NullReferenceException)

Just want to be sure that I haven't been coding for too long ... But, this seems highly unlikely : https://i.stack.imgur.com/mTlwX.png I create the var, check for null, return if it is, so there's no way I can see it as being null at that point…
Noctis
  • 11,507
  • 3
  • 43
  • 82
8
votes
3 answers

How to set team-wide ReSharper and code formatting settings?

We would like to have common team-wide editor settings in Visual Studio 2012. We use ReSharper. Is there any way for all team members to have Visual Studio editor settings that they can import from a central fileshare? What I have tried ReSharper…
Contango
  • 76,540
  • 58
  • 260
  • 305
8
votes
2 answers

How do you reference external libraries with Jasmine + Resharper

I can run Jasmine unit tests from the Resharper 8.0 unit test runner. I have a problem where any Javascript references that are normally in the html page (ie in my case Ext-Js) then I can't use the Resharper test runner, as you don't seem to have…
Stephen Price
  • 1,629
  • 1
  • 24
  • 42
7
votes
2 answers

dotCover filter with command line

What is the correct way to call dotCover command runner passing it several filters? I've tried the following but it only excludes the first assembly: dotcover c /TargetExecutable="c:\Program Files (x86)\Microsoft Visual Studio…
ShaneKm
  • 20,823
  • 43
  • 167
  • 296
7
votes
3 answers

Can Resharper Intellisense be configured to sort alphabetically?

I've recently updated to using VS2013 and Resharper 8.2, (from VS2010 and Resharper 6) and have found a very annoying "feature" in that Resharper's intellisense does not sort a class's members alphabetically. By way of example, I have an object…
DeanOC
  • 7,142
  • 6
  • 42
  • 56
6
votes
1 answer

MSTest Run Ignored Tests (VS2013)

I've recently starting using VS2013 (was previously using 2010). I no longer seem to be able to run ignored tests by either using Resharper or the Visual Studio test runner. This is how I am declaring test methods: [TestMethod, Ignore] public void…
RagtimeWilly
  • 5,265
  • 3
  • 25
  • 41
6
votes
2 answers

Resharper Refactor field of type T to Lazy

Is there an easy way to refactor a field/property of type T to be a Lazy, and replace all useages of that field to use FieldName.Value instead? I have a controller with a bunch of dependencies that are stored in private backing fields, but only a…
hermitt
  • 515
  • 4
  • 8
6
votes
0 answers

Resharper cannot rename files when Git version control is applied

I have a Git version controlled solution in VS 2013 with several projects. Some of the projects are outside of the solution folder and thus are not controlled by Git. I noticed that for those projects that are outside of the solution folder…
net_prog
  • 9,921
  • 16
  • 55
  • 70
5
votes
0 answers

Any way to colour properties differently from fields?

Resharper 8 appears to only have a single colour setting for fields and properties, called Resharper Field Identifier (found in the Fonts and Colors section of Visual Studio's Environment settings). So whatever colour I select for this will be used…
Matthew Watson
  • 104,400
  • 10
  • 158
  • 276
5
votes
1 answer

Is there a way I can have Resharper ignore an unused reference?

Using Resharper, we can right click on References for a project and select Optimize References. This shows us class libraries that are not in use or required by the compiler. I have a class library that is only to be used as a reference (won't ever…
techvice
  • 1,315
  • 1
  • 12
  • 24
5
votes
1 answer

Prevent Resharper StyleCop Code Cleanup to create regions

Upon code clean up (profile: StyleCop) it always creates regions for constructors, properties and so on... #region Constructors and Destructors public IpDiagnosticsService() { // : base() // NOP. Required for serializer. } public…
lapsus
  • 2,915
  • 2
  • 32
  • 61