Questions tagged [resharper-7.0]

Use this tag for version specific questions about ReSharper 7.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 is a refactoring and productivity extension by JetBrains that extends native functionality of Microsoft Visual Studio 2005, 2008, 2010, and 2012. 7.0 includes additional improvements over 6.1 and brings support to Visual Studio 2012.

18 questions
26
votes
19 answers

Resharper 7: MSTest not working - "Test wasn't run"

Since I upgraded to VS2012 and Resharper 7, my previously working MS Tests are not running anymore. The tests are run in an ASP.NET environment. I use the following Attributes: [TestMethod] [HostType("ASP.NET")] …
magnattic
  • 12,638
  • 13
  • 62
  • 115
25
votes
1 answer

How can I remove a user category from a template?

How can I remove a user category from a Resharper Live Template? When only a category is selected (and not a template itself) the delete button is disabled: None of the items provide context menus, and editing a template does not provide any way to…
dlras2
  • 8,416
  • 7
  • 51
  • 90
14
votes
2 answers

How to disable /* autocomplete in Visual Studio 2012 (or Resharper)

I have Visual Studio 2012 with Resharper installed. When editing css files, when I type /*, I get autocompletion like so: /**/ I would like to disable that, but I cannot find it in the options menu. Where can I disable that? Thank you!
9
votes
1 answer

Spaces around multiplication and division operators are deleted by IDE, how to keep them?

I'm using Visual Studio with ReSharper, and whenever I write something like a * b it gets changed to a*b Is it a Visual Studio setting or a ReSharper setting? What exactly should I change?
Ilya Kogan
  • 21,995
  • 15
  • 85
  • 141
8
votes
3 answers

ReSharper wont function properly in Visual Studio 2012 running on Windows 8

I installed Visual Studio 8 on Windows 8 with Resharper 7.0.1, and I have some problems getting Resharper to function properly. It seems most of ReSharper does not work, but here is some of the strange behaviour I have noticed: Clicking…
Øyvind Bråthen
  • 59,338
  • 27
  • 124
  • 151
7
votes
2 answers

How to support MBUnit tests in Resharper 7

Since I upgraded to VS2012, my R#5 license was not useful anymore. After downloading the R#7.0.1 and installing I realized that MbUnit no longer had builtin support for R#7. Since I spent some time figuring out how to get the plugin running, I will…
5
votes
2 answers

ReSharper 7 autocomplete incorrectly displays "No suggestions" after typing "this."

I'm using Visual Studio 2010 SP 1 w/ .NET 4.0 and I just upgraded to ReSharper 7. Since upgrading, when I type "this.", Resharper autocomplete always displays "No suggestions" as shown in this screenshot: If I type ctrl+space at this point, it…
Amber Scouras
  • 361
  • 2
  • 11
4
votes
1 answer

How can I disable the Qualifier 'this.' is redundant rule in TeamCity Code Inspections?

I use Resharper's StyleCop integration when I am writing code to give me consistently styled code. I am using the full standard rule set. This leads to Resharper regularly reminding me about SA1101: Prefix local call with "this.": The call to XXX…
AlSki
  • 6,868
  • 1
  • 26
  • 39
3
votes
2 answers

How do I make Resharper stop flagging my test function as not used?

I'm using xUnit for unit testing and in one of my test classes I have 65 tests. Resharper is flagging one of them as not used and is keeping the file flagged yellow/orange until I delete it. I don't want to delete it. I want to keep that test…
Nick
  • 4,556
  • 3
  • 29
  • 53
2
votes
1 answer

Resharper quick-fix puts this qualifier in front of properties and not just private fields

I am using VS 2012 and Resharper 7. In my project the convention to access private fields is always with "this" qualifier, just to make it clear it's private (e.g. this.myPrivateField). Properties should not be accessed with the this qualifier. We…
2
votes
3 answers

Resharper 7 - Cannot create custom pattern

When I try to create a new "highlighting pattern" in Resharper, the typing inside the main textbox simply doesn't work. So I'm stuck with the default input (="3") and can't change it at all. Am I doing something wrong, or is this a bug? My…
niaher
  • 9,460
  • 7
  • 67
  • 86
2
votes
1 answer

Using NUnit EventListeners Addin with ReSharper 7

I've defined an Addin for NUnit (2.6.0) like so namespace company.Testing.Attributes { [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)] public class ThenWithSetupAttribute : TestAttribute …
Andreas
  • 5,501
  • 2
  • 20
  • 23
1
vote
2 answers

Visual studio Error List report error in code from Resharper's Decompiler folder

Everything is in the title, the versions of components in the tag. The errors look like this : Error 13522 Unexpected character '\u003A' C:\test\myProject\_ReSharper.myProject\Decompiler\decompiler\04\fe6e72ab\Settings.cs 28 40 More…
Thomas
  • 5,603
  • 5
  • 32
  • 48
1
vote
1 answer

Resharper suggest void method to public, internal or protected - how to always have demand access modifier

In my solution, I have a method setup like this void OnFooLoaded(param bar) { // method body } Using ReSharper 7, it suggests that I can make the method either public, internal or protected. I cannot seem to figure out where I can change this,…
Nicklas Pouey-Winger
  • 3,023
  • 6
  • 43
  • 75
1
vote
1 answer

import settings to resharper 7 from 6.3

I have been a resharper user for a number of years and a member of team that use the product. As a team we have created a common resharper xml settings file that we import in to resharper so that we are all working off the same settings. I recently…
amateur
  • 43,371
  • 65
  • 192
  • 320
1
2