Questions tagged [resharper-6.0]

Use this tag for version specific questions about ReSharper 6.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 2003, 2005, 2008 and 2010. Version 6.0 provides various improvements over previous versions such as:

  • Support for HTML, JavaScript, CSS, and Razor view engine.
  • On-the-fly code analysis for VB.NET.
  • An improved unit test runner.
  • Decompiling functionality to assist in figuring out the behaviour of third-party libraries.
  • Converting LINQ to loops.
  • Improvements in XAML support.
  • Colour highlighting for properties representing colours and code completion visualizing colours and brushes.
  • Import types for pasted code.
  • ReSharper suggestions explained.
  • Searchable code inspection severity options.

See also:

What's New in ReSharper 6.0

89 questions
1
vote
1 answer

Resharper: Trying to create a custom rule / pattern where comments must start with a capital letter and end with a period

We just finished defining our coding standards in our group and I'd like to create some custom rules in Resharper to enforce said standards. Among them is enforcing that all comments start with a space, a capital letter and ends with a period. Are…
Hussein Khalil
  • 1,585
  • 2
  • 25
  • 47
1
vote
1 answer

Known issues with Resharper 6

Im having real problems using Resharper-6 with VisualStudio-2008, specuially during debugging, as soon as click the "F5" to let it run, VS2008 crashes and restarts, is it a know issue, did anybody face such problems? thank you
user1083261
1
vote
2 answers

Is it possible to turn off code analysis for all JS files when using resharper 6.0?

Resharper uses up alot of memory (over 1GB of ram) when trying to run code analysis on the JS files in my solution which causes VS to become unresponsive. Is it possible to turn off code analysis for all the JS files without having to tell Resharper…
Jason Quinn
  • 2,443
  • 3
  • 28
  • 36
1
vote
1 answer

Resharper 6.0 showing incorrect information in intellisense

Before I go make an issue to Jet Brains, I wanted to see if anyone else has this issue. All my class level private variables (eg: _myvar) are showing twice in intellisense. (Resharpers intellisense). The correct is shown like so : _myVar The…
deanvmc
  • 5,957
  • 6
  • 38
  • 68
1
vote
1 answer

Resharper 6 simply ignores all my tests

I have a solution with a lot of nunit tests in different projects. When I run resharpers testrunner, it finds all the tests. But when it comes to execution it simply marks them all as grey and silently completes. How do I figure out whats wrong with…
Morten
  • 4,507
  • 7
  • 29
  • 31
1
vote
4 answers

Autoformatting with Visual Studio 2010

I just switched to Visual Studio 2010 from Visual Studio 2008 and also have ReSharper 6 installed. When pasting lines into case blocks in switch statements, the lines are not auto indented like they were in Visual Studio 2008. I've tried every…
P a u l
  • 7,805
  • 15
  • 59
  • 92
1
vote
1 answer

Disable downloading source for C# internal methods, like object.ToString()

Is there any way to disable the decompilation of C# internal method like ToString()? Everytime I accidentally ctrl+click on the methods, and it spends some time to download the library source.
william007
  • 17,375
  • 25
  • 118
  • 194
1
vote
1 answer

Resharper internal error when debugging in 64bits and using SMO APIs

If I debug some unit tests with Resharper, and those unit tests use the SMO SDK, I get this error: Any idea how to avoid it? I'm running ReSharper 6.1.37.86 (Full Edition) UPDATE: After upgrading to Resharper 6.1.1000.82, I get a slightly different…
knocte
  • 16,941
  • 11
  • 79
  • 125
1
vote
1 answer

How to make VS2010/ReSharper remember that I've closed my "Unit Test Sessions"?

I've closed my "Unit Test Sessions" pane in VS2010, but it appears again each time I restart VS. How can I make VS remember that I've closed this pane?
lance
  • 16,092
  • 19
  • 77
  • 136
1
vote
2 answers

Any workarounds for extreme typing latency using Resharper 6.1 with VS-2010?

I recently installed Resharper 6.1 in VS-2010. I'm using it with a rich web application with an Azure-based C# back end and JQuery and other Javascript libraries on the front end. I love the way Resharper can parse my JS files and provide statement…
1
vote
1 answer

Drop down menu shortcut for left margin Resharper helper icon like inline Ctrl+.?

Being able to use Ctrl+. and Enter save me alot of time. I would like to be able to do this with the Resharper Icon that shows in the left margin. Is there a way to do this?
Joshua Enfield
  • 17,642
  • 10
  • 51
  • 98
1
vote
1 answer

How to locate the formatting of a line in the Options/Fonts and Colors dialog?

I am using Resharper 6.x with VS2010. One of the features is that if you double click on a variable, it is highlighted and then other usages of the variable are highlighted, like so: The background and foreground colors of the highlighted variable…
AngryHacker
  • 59,598
  • 102
  • 325
  • 594
1
vote
2 answers

creating custom templates in visual studio & resharper

I would like to create custom templates for c# files, unit test classes, .aspx.cs etc so that common items to all files are included once they are created eg file headers. I am working with visual studio 2010 and resharper 6. What is the easiest way…
amateur
  • 43,371
  • 65
  • 192
  • 320
1
vote
2 answers

Surround-with template with resharper that formats the selection

I am trying to create a surround-with template with resharper that formats a selection like this string foo = "A text with spaces"; into this: string foo = Translate("ATextWithSpaces"); I want to select the "A text with spaces" myself, press the…
Per Åkerberg
  • 354
  • 1
  • 11
0
votes
1 answer

Resharper shows all tests of a text fixture are passed but text fixture fails

I'm using resharper with nunit. As seen in the picture all test are passed in a text fixture but text fixture fails. All my test cases are parameterized by the way. How does this happen? When I click on the text Fixture it says: Failed:Child test…
hrzafer
  • 1,123
  • 1
  • 15
  • 35