Questions tagged [resharper]

ReSharper is a refactoring and productivity extension by JetBrains that extends native functionality of Microsoft Visual Studio versions since 2003.

ReSharper is a productivity tool for Visual Studio that aims to improve the developer experience. Providing additional features for error correction, code completion, navigation, search, syntax highlighting, formatting and cleanup, code generation and optimization, it carries out a large number of automated refactorings and streamlines unit testing using NUnit, MSTest, xUnit.net, MSpec (via plugin), amongst other features (all without the need to compile).

Current ReSharper releases support Visual Studio 2010-2019; previous versions supported Visual Studio 2003-2008.

ReSharper currently supports C#, VB.NET, ASP.NET, ASP.NET MVC, Razor, TypeScript, JavaScript, CSS, HTML, XML, XAML, MSBuild and NAnt build scripts.

ReSharper's functionality can be significantly extended with its Open API. In fact, most of ReSharper's features are implemented using this same API that is available in ReSharper plugins.

4908 questions
4
votes
1 answer

Disable just the switch snippet in resharper 8 (c#)

I find that the default VS 2013 switch snippet works a lot better than the one from resharper. any way to just disabe that?
mmilan
  • 1,738
  • 8
  • 31
  • 57
4
votes
1 answer

ReSharper's static analyzer appears to be corrupted. How do I fix it?

I'm having a problem with ReSharper giving obviously wrong advice. For example, in the following code sample, ReSharper is saying that the response, dates, and ex variables are never used, when they are clearly used on the following lines: Dim…
Katie Kilian
  • 6,815
  • 5
  • 41
  • 64
4
votes
1 answer

How to turn off autoformat which is getting rid of curly bracket spacing in collection initializer?

I have visual studio 2013, Resharper 8.1 and Stylecop. I'm not sure what setting is doing this, but I can't seem to find it!? I pristine visual studio 2013 will take something like this: var tmp = new List {"this"}; and make it into this…
shawn.mek
  • 1,195
  • 1
  • 11
  • 17
4
votes
1 answer

Enforcing "Solution team-shared" settings

Is there a way to enforce Resharper "Solution Team-Shared" settings amongst a team of developers, such that they cannot be overridden? From my understanding of the documentation, the "Solution Personal" settings override the team shared…
Brett Postin
  • 11,215
  • 10
  • 60
  • 95
4
votes
1 answer

Lots of "Cannot resolve symbols" in Visual Studio this morning. Also using Resharper. Compiles fine

This morning, when opening Visual Studio 2012 I see lots of "red code" based around "Cannot resolve symbols". The code compiles and runs fine. I am using Resharper, so not sure if it is an issue with RS? I did have an issue with my laptop OS over…
SamJolly
  • 6,347
  • 13
  • 59
  • 125
4
votes
1 answer

Rebind Control+LeftClick in Resharper

I want Control+LeftClick in Resharper to be bound to 'Goto Implementation' instead of 'Goto Declaration'. This is because I work with lots of interfaces, and most of the time I want to visit the implementation not the interface declaration. Is there…
Phillip Ngan
  • 15,482
  • 8
  • 63
  • 79
4
votes
1 answer

Resharper moving top brace next to if statement. How to have on new line?

My Resharper 8 is auto formatting on the end brace. The top brace moves to the end of the IF statement line. How can I have it format to the next line. Starting statement if (condition) { var x = new foo(); } When the bottom brace is removed…
Valamas
  • 24,169
  • 25
  • 107
  • 177
4
votes
4 answers

How can I enable the border around the selected scope in code in Visual Studio?

How can I Enable in VS8-10 the border/line that surround the codeblock where the cursor is? I have looked hard after this I kinda have to give up now. I have googled everything like: border, line, hightlight schope, and surround. I know it's…
radbyx
  • 9,352
  • 21
  • 84
  • 127
4
votes
1 answer

Visual Studio 2013 intellisense quick info missing while typing

I have VS2013 and Resharper Today for a reason unknown to me I no longer get the helpful hover window that describes the method I have selected from the list of methods. For example, if I typed Console.WriteLine I would get a box detailing what…
Damo
  • 1,898
  • 7
  • 38
  • 58
4
votes
2 answers

Checking nullable result of OpenFileDialog

I have written some code in a WPF application, which looks like this: var dialog = new OpenFileDialog { Filter = this.FileExtensionFilter }; var dialogResult = dialog.ShowDialog(); if (dialogResult.HasValue && dialogResult.Value) { ... Process…
Stephen Holt
  • 2,360
  • 4
  • 26
  • 34
4
votes
2 answers

Testing async web api methods with custom authorization

I have a WebApi method looking more or less like this: public async Task Get(Guid id) { var foo = await Store.GetFooAsync(id); if (foo.BelongsTo != User.Identity.Name) throw new…
Diego Mijelshon
  • 52,548
  • 16
  • 116
  • 154
4
votes
1 answer

Memory leak in Visual Studio 2012 using ReSharper on 'huge' Solution

For some major codecleanup I created a Solution including all projectfiles to make things easier. This is roughly 620 .csproj with about 12k Source-Files. Using the cleanup on this solution will surely take ages, but that was planned. Unplanned…
CSharpie
  • 9,195
  • 4
  • 44
  • 71
4
votes
3 answers

ReSharper-like addon for NetBeans

is there any ReSharper-like addon for NetBeans (preferably 6.8)? I'm using NetBeans for PHP. I need following features: add some kind of code analysis add some intelligent refactoring interface enhance current code completion system add more…
Ondrej Slinták
  • 31,386
  • 20
  • 94
  • 126
4
votes
2 answers

Resharper Create Custom Refactor for ReactiveUI's ReactiveObject

So I have a ton of viewmodels and models in my code that require each property to use the ReactiveUI way of observing their changes: private bool _myProperty; public Boolean MyProperty { get { return _myProperty; } set {…
Robert Petz
  • 2,718
  • 4
  • 23
  • 52
4
votes
2 answers

Visual Studio shortcut to get back to coding pane after terminating the run using Shift+F5

This was very tricky to Google ,however, a very simple question in mind. Instead of wasting lots of time filtering the Google search results I prefer to ask my Stack fellow developers. Scenario Program is running I terminate it using Shift + F5 I…
Mehrad
  • 4,093
  • 4
  • 43
  • 61
1 2 3
99
100