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...
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.
...
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...
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.
...
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...
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...
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?
...
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...
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...
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...
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...
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...
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...
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?
...
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
...
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!
...
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...
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...
...
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...
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...