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

What does "2×Basic" mean in ReSharper?

I have Visual Studio 2012 and ReSharper 8.2. I noticed that if you bring up intellisense with the usual Ctrl+Space, then hit Ctrl+Space again, some other options pop up. Some of them will be other matching symbols from libraries which are not…
p.s.w.g
  • 146,324
  • 30
  • 291
  • 331
1
vote
3 answers

Does assignmentless Construction of an Object Make any Sense?

A R# inspection of my solution told me "'Local variable 'fs' is never used'" about this line: var fs = new FormatString(); Okay, then; just get rid of the whole shebang, right? Instead, R#'s action was to remove just the var declaration and…
1
vote
1 answer

Resharper SDK - Create File

I'm attempting to make a Resharper plugin to help do some specialized refactoring on a project I've got. The gist of it is that I have a static function in a class and I want to create a new class and move the static function into it. I thought it…
Anthony Compton
  • 5,271
  • 3
  • 29
  • 38
1
vote
1 answer

ReSharper's Code Cleanup Tool Does Nothing after Being Run

I am in VS 2012. I run the tool on a fairly large .sln. It runs, but only opens up about 5 classes. I've set the clean profile to do suff such as removing redundant "this" qualifiers, remove unused using statements, etc. It only ran for about a…
PositiveGuy
  • 46,620
  • 110
  • 305
  • 471
1
vote
2 answers

How to install Resharper plugin?

Although Resharper is great, but how to install plugin for it is not immediately obvious. There is a Resharper Gallery which is based on nuget. But how do I install a plugin? No instructions. Could someone help me out here? I am using the Resharper…
imgen
  • 2,803
  • 7
  • 44
  • 64
1
vote
1 answer

ReSharper Jasmine AngularJS unit-test using yeoman

I'm trying to get unit-test generated by yeoman to run in Visual Studio using Resharper 8.0.2. With yeoman if you simply generate a controller you'll get something like this: 'use strict'; describe('Controller: MainCtrl', function () { // load…
1
vote
2 answers

Resharper command to show file in explorer?

Is there any command/shortcut to show the selected file ( selected in solution explorer) at the file system explorer ? For example : selecting a file : Pressing something.... And then this will show :
Royi Namir
  • 144,742
  • 138
  • 468
  • 792
1
vote
1 answer

ReSharper 8 + MVC "Cannot resolve id"

After upgrading to ReSharper 8, I'm starting to see a bunch of warnings in my JavaScript that shouldn't be there. In a Razor .cshtml page, I have: @Html.HiddenFor(model => model.Id) @Html.EditorFor(model => model.Name) And in the JavaScript/jQuery,…
chkimes
  • 1,127
  • 13
  • 20
0
votes
1 answer

How to integrate ReSharper with WebStorm

Is it possible to integrate ReSharper with WebStorm for Angular application development? If yes can you please provide the steps or links which I can refer. I tried checking in ReSharper official website but didn't get much info or I can say its bit…
HSM
  • 27
  • 6
0
votes
1 answer

Error running XUnit tests in VS2013 / ReSharper 8 - xunit.dll not found

I've upgraded all the xUnit NuGet packages in my solution to XUnit 2.1 in the hope of fixing some problems I had running my xUnit tests, but I'm getting the same problem as before, which is: [Window Title] Unit Test Runner [Main Instruction] …
Gary McGill
  • 26,400
  • 25
  • 118
  • 202
0
votes
2 answers

How can I disable a single ReSharper "Parameter Can Be of Type" suggestion?

ReSharper is flagging a constructor parameter with a warning, suggesting that I change the parameter to it's inherited interface type. However I need the specific implementation as the parameter type for dependency injection reasons. I can't seem to…
0
votes
1 answer

CSS Intellisense for files not in solution

Is there any way to include css/less files for intellisense purposes, but not have them in the solution / project (VS 2013) I am using bower / gulp to manage my dependencies and inject them into my final html. As such, I don't want to include my…
0
votes
1 answer

Change Order of Literal Entries in R# Snippet Templates

So the R# template for foreach looks like this: foreach ($TYPE$ $VARIABLE$ in $COLLECTION$) { $END$ } The problem is that it jumps me to enter $COLLECTION$, then $TYPE$, then $VARIABLE$, but my mental process is $TYPE$, $VARIABLE$, $COLLECTION$,…
Travis
  • 1,044
  • 1
  • 17
  • 36
0
votes
2 answers

Resharper: auto-insert culry brackets after loops

How can I set auto inserting curly brackets after loop/IF + [ENTER] in C# ReSharper 8.2.3? Example: if (statement) //+[ENTER] should gives me: if (statement) { //CURSOR HERE }
0
votes
1 answer

Resharper refactoring creating static methods

When you refactor a method using Resharper 8 and the method arguments do not depend on instance variables of the class, a static method is constructed. However, an instance method could also have been created. Is a static method created for…
Klaus Nji
  • 18,107
  • 29
  • 105
  • 185