Questions tagged [resharper-9.0]

ReSharper is a refactoring and productivity extension by JetBrains that extends native functionality of Microsoft Visual Studio, including the VS2013 Preview. Questions related to resharper 9.0 release should use this tag

ReSharper is a refactoring and productivity extension by JetBrains that extends native functionality of Microsoft Visual Studio, including the VS2013 Preview. Questions related to resharper 9.0 release should use this tag

69 questions
42
votes
2 answers

Resharper Cache size uses huge amount of disk space

I noticed that my development machine running windows server suddenly ran out of space. I ran WINDIRSTAT and see that Resharper cache is using a LOT of space.. It's a normal web project including 3 class projects as well.. The other projects on the…
Engern
  • 875
  • 3
  • 11
  • 20
35
votes
2 answers

ReSharper highlights use of nameof with "Explicit argument passed to parameter with caller info attribute"

I'm using the nameof function to get a property name as a string thus: public bool IsRunning => ...; ... RaisePropertyChanged(nameof(IsRunning)); ReSharper highlights this with the warning: Explicit argument passed to parameter with caller info…
Tim Rutter
  • 4,549
  • 3
  • 23
  • 47
31
votes
2 answers

ReSharper: setting C# language level for Solution

Further to this question, I have lots of projects inside a solution and I dont want to create a dotsettings file for each project. Can anyone help me set the C# Language Level on a solution level. This is relevant for me as I downloaded VS2015 today…
Christo
  • 2,330
  • 3
  • 24
  • 37
26
votes
6 answers

c# Resharper 'No Tests Found in Project' / 'Inconclusive: Test wasn't run'

I've got ReSharper v8.2.1 installed. I have a VS2013 solution that contains several test projects. Most of them work just fine. However, one project is giving me trouble. In the Solution Explorer, I right-click the project and select "Run Unit…
djs
  • 1,660
  • 1
  • 17
  • 35
25
votes
1 answer

How to globally disable file headers documentation in ReSharper plugin for Visual Studio

Environment I am using Microsoft Visual Studio 2013 Update 4 with ReSharper 9.0 Update 1. I have ReSharper.StyleCop (for R# 9) (https://github.com/kubiix/ReSharper.StyleCop) ReSharper plugin installed version 4.7.50-beta3: The problem Operations…
21
votes
1 answer

Stop ReSharper from putting JavaScript function parameter onto new line

How can I stop ReSharper formatting from turning this: define(['Spec'], function (Spec) { }); into this: define(['Spec'], function(Spec) { }); I've tried various combinations of settings but have not hit upon the right one yet.
Holf
  • 5,605
  • 3
  • 42
  • 63
15
votes
2 answers

ReSharper 9 - Shortcut Alt+Enter not work in VS 2015

I had tried hard to make it work using suggestions from - 1) Resharper Alt Enter not working 2) Resharper 8 - Quickfix shortcut Alt+Enter gone But so far all failed. Did anyone else faced same? Do you have any suggestions that can make it possible…
Vikram Singh Saini
  • 1,749
  • 3
  • 22
  • 42
15
votes
5 answers

Resharper - keep named parameters when doing code cleanup

We've adopted a convention that when calling a C# function with a "non-obvious" parameter, we use a named parameter even when it's not necessary. E.g. obj.Process(save: true) rather than obj.Process(true) While it's unnecessary, it makes it a lot…
Stuart Moore
  • 681
  • 5
  • 32
12
votes
3 answers

How to stop Resharper toggling between Enumerable.ToList and Select suggestion

If I use the Resharper code cleanup function, I'm finding my code ... var personInfos = persons.Select(Mapper.Map).ToList(); is changed to ... var personInfos = Enumerable.ToList(persons.Select(Mapper.Map)); But then…
SteveC
  • 15,808
  • 23
  • 102
  • 173
11
votes
3 answers

Typescript/Resharper 9. Duplicate identifier

I get a lot of "Duplicate identifier" errors in Visual Studio 2013 which make my code unreadable since I installed Resharper 9. The only reason I can see that there are duplicate errors, is that in another project, these files are included and thus…
Mikaël Mayer
  • 10,425
  • 6
  • 64
  • 101
11
votes
1 answer

Resharper 9.0 says 'No tests found in selected solution items.' Yet there are over 100 tests

Resharper 9.0 says 'No tests found in selected solution items.' Yet there are over 100 tests. I right click my solution in Visual Studio 2013 and click the "Run Unit Tests" option near the bottom of the context menu. I get the error message: "No…
Curtis
  • 5,794
  • 8
  • 50
  • 77
10
votes
2 answers

Visual Studio indent HTML tag contents

I have Resharper and Web Essentials installed in Visual Studio 2013, and would like to have the contents of an HTML tag in my .cshtml files be indented. So what I do NOT want (and seems to be the default): …
MatthewSot
  • 3,516
  • 5
  • 39
  • 58
7
votes
2 answers

Where has nuget support in Resharper 9 gone?

I recently updated Resharper to version 9.0. Now I noticed that adding references by Resharper context menu does no longer update the packages.config file, thus breaking the match between referenced DLLs and installed packages. For older versions of…
theDmi
  • 17,546
  • 6
  • 71
  • 138
6
votes
1 answer

Resharper 9 Convert to LINQ: method syntax

I've been using Resharper (c#) for many years and found the automatic convert-to-linq-expression feature extremely helpful. I've recently upgraded to V9 of resharper and it is now using linq query syntax rather than the method syntax which is my…
Andrew Thomson
  • 4,572
  • 3
  • 18
  • 15
6
votes
1 answer

Allow same-line empty methods in ReSharper

Is there a way to tell ReSharper to allow same-line brackets for empty methods and constructors? For example: MyConstructor(int x) : BaseConstructor(x) { } protected virtual void Foo() { } Should not be converted to: MyConstructor(int x) :…
Lazlo
  • 8,518
  • 14
  • 77
  • 116
1
2 3 4 5