resharper

Is there a way to emulate ReSharper's "extend selection" feature in Vim?

ReSharper has a nice feature called "extend selection": by pressing CTRL+W (I think this is the default) repeatedly, you select more and more from your current caret location. First it's a word, then more and more words, a line, inner then outer block of lines (for example an if-block), then a function, etc... Basically, by pressing the...

Why is Visual Studio / Resharper still slow after upgrading memory?

ReSharper suggests 4 GB of memory. I just upgraded my PC from 512 MB to 4 GB of memory (I have a Dell). Is there anything I need to do in Windows after installing this memory or should it be good to go right now? I was expecting to see a big boost in Visual Studio but it still seems slow. ...

ReSharper Abbreviations List: Where can I modify it??

I am using ReSharper 4.5, and what often happens when I am converting explicit properties into auto-properties, is that I will accidentally chose "Add XX to abbreviations list". Ie: I want to convert CustomerID into an autoproperty, but due to quick butterfingers, I will accidentally add "ID" to the abbreviations list instead, which I d...

Resharper Hotkeys

I just started using resharper and I am trying to learn all the hotkeys - Is there a list of all the hotkeys somewhere for the standard install? Something this is possibly in printable format. ...

Visual Studio (or resharper) variable and method coloring

Ok, I am not sure what the naming for this is actually called, but I would like to know if the following is possible in Visual Studio. When I set my cursor on or highlight a variable, or method name, or string... etc, I would like the IDE to highlight all uses of it. So if I highlight variable x, then it highlights all other uses of va...

Is my approach to lazy loading flawed?

Platform: Visual Studio 2008 SP1 with Resharper 4.1, .NET 3.5 I have a class with a static method, GetProperty<T> that returns a property value lazily. private static T GetProperty<T>(T backingField, Func<T> factory) where T : class { if (backingField == null) backingField = factory(); return backingField; } But...

C#: ReSharper complains when method can be static, but isn't

Why does ReSharper complain when a method can become static, but is not? Is it because only one instance of a static method is created (on the type) and thus save on performance? ...

Fastest way to update namespaces (resharper ?)

so i have been doing some refactoring and reorganization and i have moved a bunch of files around. i want to update each file so it has the "correct" namespaces according to its new location. with resharper, i can go into each file and it shows me that the namespaces is incorrect but that way i need to do it each file at a time. is th...

Resharper 4.5 has stolen my colour scheme! Can anyone help?

I'm not sure exactly what went wrong here, but Resharper 4.5 RTM seems to have stolen my visual studio colour theme. I normally use Fredrik Kalseth's wicked theme, and I've been using Resharper since version 2.0. Never before has this happened - not even while using the 4.5 Beta. My scheme remained in tact without detremental interferenc...

How do i automate adding a "using" statement to every files in a folder, namespace or project with Visual Studio 2005 / resharper

I am using resharper to do a big refactoring and i keep going from file to file and adding the same namespace over and over again in the "using" section is there anyway to add a "using" statement to every single file in a folder, namespace or project? Even though some files wont need the reference, most do, so it will save lots of time...

Rebuild all Interfaces based on directory of Implementations.

I like using Resharper. They have a feature for extracting an interface from an implementation. My solution layout is such that I have one directory for implementation, and one directory for interfaces. What I would like to be able to do is point to my implementation directory, then point to my interface directory and have it rebui...

Does resharper have problems with asp.net mvc?

I'm using the latest release of resharper. Just downloaded and installed last week so I'm new to using it. The problem I'm having is that in my ASP.NET MVC application all of my controllers say they are never used and all the methods within the controller say they are never used. Is there a way to suppress the messages or for resharpe...

Resharper Live Templates to help with WiX

I'm writing a few WiX files today and there's a lot of repetitve typing involved, so it looks to me like Resharper's Live Templates would be very useful here. Does anyone know of any? I know it's not too hard to write new Live Templates so I may end up answering my own question in a couple of hours, but if anyone can point me to pre-exi...

Tools / Tips for refactoring Visual Studio projects

Hello All Similar to the way Resharper makes copying or moving a type to another file and adjust all of your using statements, I'd love to be able to refactor a VS project, and know all of my references, assembly names, and file locations will be properly adjusted. Does Resharper or any other tools make project level refactoring easy? ...

Visual Studio or Resharper functionality for placement of using directives

Hi, I like to put my using directives inside the current namespace, and not outside as VS and Resharper per default puts them. Does anyone know of a macro/standard functionality that sorts/removes unused using directives and puts them inside the current namespace? --larsw ...

ReSharper 4.5 took away all intellisense for VS 2008!

I just recently purchased ReSharper 4.5 to use with Visual Studio 2008. Upon installing it, I have noticed that there is no intellisense at all! There is no ReSharper intellisense, no VS intellisense, nothing). Any ideas? Thanks! ...

Resharper uninstall - Visual Studio no longer shows correct error highlighting

Hi all I've been trying out resharper and decided that I'd like to uninstall. However, after doing so, Visual Studio no longer shows red underline highlighting that it normally uses to identify the location of errors in the code. This has happened on two of our PCs so far. I've tried a reinstall and a repair, but no luck. Any ideas ho...

Generate DTOs from Object

Hi there, I want to auto gen some DTOs from some of my existing objects, I was wondering if there already exist a Resharper, DevExpress or VSX open source to use, I need a tool to look into my code and let me choose which properties I want to include in my DTO and then generate a class based on that... ...

Is it possible to change the way Resharper 4.5 formats code in aspx/ascx files?

I find myself constantly pressing ctrl-z to undo the automatic formatting that happens in templates. For example Resharper would like to format a foreach loop like this: <% foreach (var product in Model.Items) { %> <li><%= product.Name %></li> <% } %> This is fine in c# code files but it just seems messy in templates. I woul...

Solution Wide Analysis Broken in Resharper 4.5?

I'm having trouble with solution wide analysis since I upgraded to resharper 4.5. I'm continually getting false negatives, and having resharper report errors with my code that are not there. I find the only way to get rid of the errors is to open each of the reported in error files, find the offending types/classes, open those files an...