1
голосов
6ответов
1977 просмотров

can i use resharper 4.5 with visual studio 2010 beta

should this work or do i need to wait for a new resharper release?

243
голосов
15ответов
75857 просмотров

Resharper Alt Enter not working

Help, I can't function without Resharper. All of a sudden my Alt+Enter ↵ shortcut (to bring up the action list) has stopped working. Anybody experienced this or know how to fix?

0
голосов
1ответов
117 просмотров

Is it possible to "go to next highlight in solution"?

With ReSharper, I can "go to next error in solution", but it seems that "go to next highlight" is limited to the currently open file only. Is this correct, or is it possible to "go to next highlight in solution"?

3
голосов
2ответов
369 просмотров

Visual Studio "Run a method" vs "Utility tests"

I use XUnit and Resharper to run my tests. In a given project I usually have a few utility tests which are not really tests but exist purely so I can execute a bit of code easily. For example, I have a test which outputs my NHibernate mappings (I use Fluent NHibernate) to a temporary directory. I...

22
голосов
3ответов
4047 просмотров

How to prevent auto-closing of curly braces in ReSharper?

A simple question. I'm trying out ReSharper and it closes my curly braces for me as soon as I open them. I really dislike this "feature" and I've had about three long looks through the settings window and I can't seem to figure out how to disable it! Am I missing an obvious check-box somewhere? ...

0
голосов
1ответов
168 просмотров

Does Resharper Code clean up support this

I have a project with a bunch of classes with methods that look like this: public class Person { private string _name; ... public void setName(string name) { this._name = name; } public string getName() { return this._name; } .... } Is there a w...

13
голосов
7ответов
4464 просмотров

Why does resharper suggest readonly fields

Why is ReSharper suggesting readonly field for 'settings' in my example below? If I understand correctly, you should use readonly modifier if you change this field only in constructor, but in my example I also change it in another method in the same class. What am I missing? public partial c...

44
голосов
1ответов
11815 просмотров

Is there a "Resharper-like" addin for MonoDevelop?

I've googled and not come up with much. Has anyone run across something like Resharper for Mono?

1
голосов
2ответов
253 просмотров

Why does Resharper 4.5 testrunner sometimes take forever to start my mstests?

I just copied a Visual Studio solution over from another computer. I haven't done any changes, but the Resharper testrunner takes forever to start up my mstests. When the tests are finally running, they run fast. There's a JetBrains.ReSharper.TaskRunner.exe which consumes 48% of my total cpu on ...

1
голосов
2ответов
316 просмотров

how to automatically create an interface member from within a class using Resharper?

I have already created an interface, and I am in the class that binds to the interface. If I create a new method in the concret class, is there a shortcut to create the method declaration in the interface?

3
голосов
3ответов
1753 просмотров

ReSharper doesn't see my Machine.Specification tests

I'm having a problem getting ReSharper to see the Machine.Specification "tests" I've written. The specs run in the ConsoleRunner from mSpec. When I try to "Run Unit Tests" in ReSharper, I get a message: "No tests found in file." The specs don't show the test markers. I created a folder in the R...

2
голосов
2ответов
1314 просмотров

Is there a way to find all unused code in a .NET project using ReSharper?

I've just done a major, major overhaul on a colleagues project and throughout the process almost everything got rewritten. There was far too much code beforehand. Now, I am left with the prospect that in amongst my project somewhere are old pre-refactoring methods that are no longer needed. Is ...

6
голосов
4ответов
5842 просмотров

Is it possible to force an update of an Interface?

In resharper is it possible to force an update of an interface? Basically I have a class that inherits from an interface but this class is constantly changing so I need to reflect the changes in the interface otherwise VS complains that I am not implementing something as the signature of the met...

21
голосов
3ответов
9228 просмотров

StyleCop vs ReSharper and general coding-style questions

Just found StyleCop, looks like something worth using for my projects. Then I found out you could use it with ReSharper (a tool I've also never used). So I downloaded ReSharper, as well as StyleCop for ReSharper. I'm just a bit confused about it, though: With just StyleCop installed (no ReSharp...

3
голосов
3ответов
829 просмотров

Could I ever go back to not using ReSharper?

I have being using ReSharper (for C#) at work for about 2 years now. I am really missing ReSharper when I don't have it - could I ever go back to not using ReSharper?

11
голосов
10ответов
1301 просмотров

Should I use Resharper to tidy up other peoples code?

I use Resharper at work. Some of my colleagues do not. When I open some code that has been written someone who doesn't, it is immediately obvious by the amount of orange on my screen. What I am unsure of is to what extent I should feel free to tidy up the messes the have unknowingly left. Wit...

4
голосов
8ответов
468 просмотров

Using Resharper -- is it really a "personal decision"?

My team lead recommends that all the developers user ReSharper but he does not "enforce" this recommendation. As a result, whenever I open some code it immediately jumps out to me whether the developer who wrote it used ReSharper or not. Tell-tale signs are unnecessary nesting, use of redundant...

47
голосов
3ответов
23271 просмотров

Resharper Clean-up Code - how to affect sorting of methods?

I've got a customized clean-up and it's almost 'there'. However, R# appears to want to sort the member methods, but at least it does not appear to be alphabetically. Is there a way to force that sorting?

0
голосов
3ответов
1520 просмотров

TestDriven.Net nunit.framework error

I am running TestDriven.Net version 2.23, NBehave version 0.4.0.133, and nunit version Unit 2.5.0.9122. I am also running the latest version of Resharper. Here is a snipet of test code: var address = new Address { ActiveYN = t...

1
голосов
1ответов
71 просмотров

Is there anyway for VS or ReSharper to make my methods "inherit" '///' documentation from the super class?

I really don't want to have to copy the XML method documentation tags from my interfaces or base classes to the hundreds of inheriting types. Can VS or Resharper do this for me?

8
голосов
3ответов
4035 просмотров

resharper "cleanup code" vs. 'var' keyword

I have an odd behavior with code clean up for c# in visual studio 2008 Team Developer Edition. Whenever I clean up my code using "Full Cleanup", it replaces all variables declaration with explicit type declarations. But I have set the appropriate settings under "Inspection Severity", "Use var ...

2
голосов
1ответов
299 просмотров

R# How to keep TABs when autoformatting

I'm formatting my code using TABs. I like Resharper autoformatting option but I wish like R# to keep my TABs in each lines. I've tried find some cfg option but with no success Any idea how to achieve that? If this is not the part of standard maybe you how to write some R# extension to do that?

11
голосов
2ответов
2245 просмотров

ReSharper Unit Test Runner - TestCase

I like using the ReSharper unit test runner, but it doesn't support the TestCase attribute that was added in NUnit 2.5. Is there any hack to get round this? I can obviously use another test runner, but I like the ReSharper one.

4
голосов
2ответов
1954 просмотров

Disable Resharper naming suggestions in markup files?

Is it possible to disable Resharper 4.5 naming suggestions in markup files such as aspx and ascx? It gets annoying when every single server control is underlined and displays a message like "Name 'ddlDefect' does not match rule 'Fields (not private). Suggested name is 'Defect'. <asp:DropDown...

1
голосов
2ответов
211 просмотров

Resharper or CodeRush - change flag from negative to positive

I have a class that has negative flag ("DoNot{Action}"). I would like to change this flag to positive "Do" and change all checks in the code, basically negating them. Is there such refactoring? Here is an example. If I change the flage DoNotFilter to DoFilter all code that looks at this flag sho...

2
голосов
2ответов
397 просмотров

Resharper: enum suggestions not fired automatically

VS2008 has nice enum suggestions eg if you press space after "=" and enum value is expected it automatically suggest all enums. Noticed it gone after installing R# Do you know how make it working back ??? Lack of this is really pain...

0
голосов
1ответов
452 просмотров

Resharper: how to see only particular group of members

I'm using shortcut alt+\ to list all members in file. Is it a way to list only specified type of members (properties, methods, fields ...) Sometime this is very useful Eg DPack can do that by alt-p (props), alt-m (methods)

0
голосов
3ответов
542 просмотров

Is there a shortcut to stop outlining in Visual Studio?

Is there a shortcut to stop outlining in Visual Studio? Do I need to use resharper to accomplish this?

2
голосов
2ответов
2276 просмотров

Resharper code cleanup and blank lines

Is it possible to do something like this: namespace MyNamespace { <-- blank line public class MyClass { <-- blank line public void MyMethod1() { //something } <-- blank line public void MyMethod2() { //something } } } Whe...

0
голосов
2ответов
1271 просмотров

How to autocorrect xml documentation of methods

In the below code in xml documentations there is mismatch between the names of parameters in method's arguments and name of parameters in xml documentation. Is there any way to auto correct the xml documentation signature or any feature provided in resharper to auto correct the xml documentation....