Use this tag for version specific questions about ReSharper 9.1 - the refactoring and productivity extension for Visual Studio by JetBrains. When using this tag also include the more generic [resharper] tag where possible.
Questions tagged [resharper-9.1]
12 questions
90
votes
2 answers
How can I configure Resharper's language level for ECMAScript 6?
Consider the image below:
How can I configure Resharper's language level for ECMAScript 6?

Jim G.
- 15,141
- 22
- 103
- 166
10
votes
1 answer
Where to copy Resharper external annotation XML files to be found by Visual Studio
I have created a XML annotation file for one of my libraries and want to make it available for all my projects without needing to copy it in each project binary folder.
For what I have read this can be done by copying it into the Resharper…

Juan
- 3,675
- 20
- 34
5
votes
1 answer
Can I use regex to find strings in Resharper's Custom Patterns?
Our code base has a lot of StringBuilder.AppendFormats that have strings that end with newline characters. I've made an extension method called AppendLineFormat and would like to use Resharper's Custom Patterns feature to identify and fix those old…

marchica
- 2,326
- 23
- 21
4
votes
0 answers
Prevent ReSharper 9.1 from auto-inserting <> angle brackets when autocompleting generic type
I don't like it when tools auto-insert brackets, parentheses, quotes, etc. and have disabled these features in Resharper 9.1. However, there's still one case where it insists on doing it. If I type (e.g.) IEnumerable, it automatically inserts a pair…

dlf
- 9,045
- 4
- 32
- 58
3
votes
2 answers
Why Resharper not detect unused references in empty MSVS 2015 console app?
If you try to create empty console app in MSVS 2013 and remove unused references, then only two of them remain: System and System.Core.
But if you preform same task in new MSVS 2015 Community (14.0.23107.0) then nothing except Microsoft.CSharp would…

rtf_leg
- 1,789
- 1
- 15
- 27
3
votes
2 answers
How to avoid 'Method is never used' message?
In the following example, Resharper complains about DoA() method never being used, despite being implemented by the 'AImplementator' class:
namespace Test
{
public interface A
{
// Method 'DoA' is never used
void DoA();
…

Genos
- 413
- 4
- 12
2
votes
1 answer
ReSharper NuGet autoresolver
Is there any chance to setup ReSharper 9.1 to auto resolve NuGet packages? I mean when I type and I do not have reference to xUnit.net and press Alt+Enter ReSharper installs xUnit.net via NuGet.
[Fact]
void TestMethod()
{
Location loc;
}

Peter
- 21
- 1
1
vote
1 answer
How to group properties of a specific type in a region with ReSharper?
I want to use the ReSharper File Layout tool to autoarange my class. With the default pattern it already works with most regions. Since I'm using Mvvm I use ICommands and Handlers. I want to group all commands in a own region like
#region…

webdude
- 41
- 7
1
vote
2 answers
Does the Cyclomatic Complexity extension exist for ReSharper 9.1?
I was trying Resharper 9.1 and I've found no cyclomatic complexity setting ...I've searched on plugins but as far I've seen it works with PowerToys till the 8.3
Am I missing it or has it been removed?

advapi
- 3,661
- 4
- 38
- 73
1
vote
0 answers
Cannot run tests using NUnit Test Runner from SpecFlow feature files
Using the current version of ReSharper (9.1) and NUnit (2.6.4), whenever I right click a feature or step in a feature file and click ReSharper's "Run Unit Tests" it throws an error and says no unit tests found.
I've found if I use the built in…

Brian Deragon
- 2,929
- 24
- 44
0
votes
1 answer
multiple replacing in resharper (Single, Count methods etc)
Resharper allows to replace only one issue. How to replace all same issues in entire proect?
For example, to replace
ctx.Shops.Where(t => t.ShopId == currentBase.ID).Single()
by
ctx.Shops.Single(t => t.ShopId == currentBase.ID)
you should push…

ilnur_safin
- 51
- 3
0
votes
0 answers
ReSharper 9.1 Live Templates editor doesn't allow to change any options
I use ReSharper 9.1 with Visual Studio 2013 and I have an issue with Live Templates editor. Non of checkbox options are editable. If I click on any of them - they are not changed.
I've tried to clear ReSharper cache and reinstall it, but the issue…

Dmitry Maltsev
- 41
- 5