Questions tagged [resharper-2017]

14 questions
36
votes
2 answers

How can I get Resharper to run tests in debug, when I get debug is "Inconclusive: Test not run"

How can I get Resharper to run tests in debug, when I get debug is "Inconclusive: Test not run" Running any MsTest test in Resharper test runner is Ok, but if I try to debug, the R# test runner just displays Inconclusive: Test not run This happens…
SteveC
  • 15,808
  • 23
  • 102
  • 173
3
votes
0 answers

ReSharper 2017.3 in VS2017 shows errors where there are none

Since I upgraded to Visual Studio 2017 ReSharper shows me lots of errors even though the code is OK and compiles fine. For example, I see the following error (red wiggly line) in a .cs file: Local variable 'conflictInfo' is never used even tough…
Georg Patscheider
  • 9,357
  • 1
  • 26
  • 36
2
votes
0 answers

Resharper 2017 custom rules setting

I am working with Resharper 2018. My boss wants me to set some of the custom rules in Resharper tool. Now I would like to know is there any way to set such rules for moving a specific file to a specific folder. For example, A class name with the…
mnu-nasir
  • 1,642
  • 5
  • 30
  • 62
2
votes
1 answer

ReSharper Formatting - put method closing parenthesis on new line

When I declare or call a C# method with multi-line parameters like this: public void DoSomething( p1, p2, p3); Then I would like ReSharper to format that code to like this: public void DoSomething( p1, p2, p3 ); Is there a…
bugged87
  • 3,026
  • 2
  • 26
  • 42
2
votes
2 answers

ReSharper 'Show Covering Tests' is greyed out

I have VS 2017 Professional with Resharper Ultimate 2017.1 The 'Show Covering Tests' menu item is greyed out and pressing CTRL+ALT+K, T gives "The key combination (CTRL+ALT+K, T) is bound to command (ReSharper_ShowTestsCoveringEditorContext) which…
Rob B
  • 656
  • 1
  • 5
  • 17
1
vote
0 answers

How do I find which code completion feature is running in Visual Studio?

I use Visual Studio 2017 15.6, with ReSharper 2017.3. They're mostly both ace, but some of their code completion features do the wrong thing more often than they do the right thing. I want to turn them off. I've managed to turn some off, but can't…
1
vote
0 answers

How can I override Resharper's GetHashCode generation routine

After selecting Generate > Equality members ReSharper generates a GetHashCode() method with body public override int GetHashCode() { unchecked { var hashCode = (int) Property1; hashCode = (hashCode * 397) ^ Property2; …
Hoppus Hoppard
  • 481
  • 1
  • 4
  • 15
1
vote
0 answers

When I do GotoType in resharper, it opens the diff view (if it's open) rather than opening the file

I'm having a problem where VS+Resharper in combination take me to what I consider the wrong file when using resharper_gototype. I'm using Visual Studio 2017, Resharper Ultimate 2017.2.2 How to repro: Make a change to a file containing class C View…
1
vote
0 answers

Visual Studio Adds extra closing bracket when autofilling closing HTML tags

I recently upgraded from Visual Studio 2015 to 2017, with ReSharper running in both. Now, when working with Razor (.cshtml) views, if I type an opening tag (e.g.
), VS automatically adds the closing tag (i.e.
), but also puts in an extra…
iandisme
  • 6,346
  • 6
  • 44
  • 63
1
vote
1 answer

New ReSharper Equals() and GetHashCode() code generation method

I have used the ReSharper feature that allows code generation for a while now. The way I've always done it is by pressing Alt-Enter in my class (outside of any method), or pressing Alt-Ins, and choosing Equality members, then selecting all members…
Evren Kuzucuoglu
  • 3,781
  • 28
  • 51
1
vote
0 answers

OutOfMemoryException when large number of Unit Tests in a Resharper Unit Test session

I am working on a large C# project with 1000+ unit tests. When I run all the test of the project in a session, after 10-12 mins many tests start throwing OutOfMemoryException. When I run them separately they run fine. When I run the whole session on…
1
vote
1 answer

How to fix Resharper forgetting contextual actions?

Resharper loves to suggest things all the time but mine stopped working in Visual Studio 2015 in one particular file while still working on all others. I uninstalled and installed it again and it continued not working. I uninstalled it again and…
Fabio Milheiro
  • 8,100
  • 17
  • 57
  • 96
0
votes
1 answer

How to automatically fill "go to everything" [ctrl + t] with current text selection

When I have text selected in a VS 2017 text edit window and then hit ctrl+t to do ReSharper's 2017 Ultimate's "go to everything", the selected text is not automatically placed into the "go to everything" search field. As automatically pasting…
Loss Mentality
  • 364
  • 4
  • 11
0
votes
1 answer

Can"t export test results (Resharper 2017.2)

I want to export my test results but it doesn't show any results in the preview. Even after saving the file, it is empty. Empty Preview (Resharper) Kind regards B0r1
B0r1
  • 400
  • 3
  • 15