Questions tagged [coderush]

CodeRush is a Productivity tool by DevExpress that extends the functionality of Microsoft Visual Studio 2010, 2012 and 2013.

CodeRush provides many features designed to enhance your productivity within Visual Studio.

Key features include refactorings (180+), code providers (70+), visualization tools, advanced selection tools, clipboard tools, navigation tools, code templates (900+), unit test runner and extensibility model.

It also provides static analysis tools like CodeIssues and Metrics which draw you attention to potential problem areas of your code.

It supports C#, VB.NET, ASP.NET, ASP.NET MVC, XML, XAML and JavaScript. The software works in all versions of Visual Studio since Visual Studio 2002; excluding Visual Studio Express editions.

139 questions
5
votes
2 answers

CodeRush style typed templates for ReSharper

I'm a big fan of CodeRush and their philosophy around templates. At my current job, we'll be doing a large amount of pairing and the consensus is a preference for ReSharper (v6), which pretty much puts me in a place where I MUST use it. I'm not…
Steve Brouillard
  • 3,256
  • 5
  • 41
  • 60
5
votes
1 answer

Get a list of files in a Solution/Project using DXCore console application

I understand that the following snippets can be used to extract a VS solution info when used in a plug-in. EnvDTE.Solution solution = CodeRush.ApplicationObject.Solution; EnvDTE.Projects projects = solution.Projects; Q: I would like to build a…
Shaun
  • 199
  • 1
  • 10
5
votes
3 answers

How to disable the "What happened" popup in CodeRush?

This thing was great at first. For example, I comment a group of highlighted code by hitting the slash and the "What happened" dialog pops up and tells me what happened. Now it is just freaking annoying. I only really needed to know what happened…
Xander
  • 9,069
  • 14
  • 70
  • 129
5
votes
4 answers

How to display CodeRush menu item in VS?

I just installed CodeRush to my VS and when I run VS for the first time after installation it showed me a dialog asking if I'm experienced user. While the dialog was visible I could see that there was new menu item in VS named DevExpress. There was…
Rasto
  • 17,204
  • 47
  • 154
  • 245
4
votes
1 answer

How do I change the foreground text color of (local variable '...' is never used) in code

I can't find a way to change that anywhere and CodeRush sets the foreground color to a very light gray that is nearly unreadable on my monitor's white background. It is hard to read the code when variable names (as well as unused method parameters…
Michael Goldshteyn
  • 71,784
  • 24
  • 131
  • 181
4
votes
2 answers

CodeRush - Build a SELECT CASE framework

in CodeRush, is there a way to auto-fill a SELECT CASE statement with the available enumerations ? So, given this enum declaration (or one with a lot more enumeration options) Public Enum eMailTransmissionMethods unknown = 0 IIS …
cometbill
  • 1,619
  • 7
  • 19
  • 41
4
votes
5 answers

How to surround a code block with a using statement in ReSharper?

I'm watching Stephen A Bohlen's excellent Summer of NHibernate series, and have been watching him interact with CodeRush. I've recently installed ReSharper (I'm a ReSharper newbie), and I'm trying to find some of the ReSharper productivity…
4
votes
0 answers

HTML tag class attribute filling is very slow

The IntelliSense for the class attribute of html tags freezes VS for 5 seconds on every autocompletion and it really slows me down. I tried to disable the whole feature via : Tools > Options > Text Editor > HTML > Advanced, and Insert attribute…
tobiak777
  • 3,175
  • 1
  • 32
  • 44
4
votes
1 answer

How do I jump to next reference in Resharper?

When I tried out CodeRush from DevExpress, there was this awesome feature called Tab to next reference. Is there similar feature in Resharper? I'm using Shift+Alt+F12 to bring up "Uses of" context menu, which is good but slower to work with. Edit: I…
Kugel
  • 19,354
  • 16
  • 71
  • 103
4
votes
2 answers

How can I change the template CodeRush uses when it extracts a method?

When I extract a method in CodeRush, it has some default formatting. I'd like to change it. Specifically, when I choose the location of the extracted method, CodeRush smashes it in, directly above the method I put the location marker at. So: When…
Nathan
  • 1,591
  • 4
  • 17
  • 22
3
votes
1 answer

NUnit running in visual studio with coderush or testdriven.net "no tests found"

My company has been using MSTest and NUnit. I am now switching us over to only use NUnit. The code is riddled with architectural problems, so we can just ignore those and work on how to get it to actually work. The main issue, I guess, is that the…
BradLaney
  • 2,384
  • 1
  • 19
  • 28
3
votes
2 answers

How to get the classes that implement an interface in CodeRush?

I was trying to write a method that returns a list of classes that implements an Interface, but could not do it. Some method like public List GetImplementedClasses(Interface Interface1) { . . . } I tried to use…
Sachin
  • 155
  • 1
  • 8
3
votes
1 answer

Can I write plugins to with CodeRush Express and use it?

I was trying to run this example using coderush express edition but i did not get any output as shown in this site. I followed the complete procedure as given in the blog, a new visual studio window opened but did I did not get the output as shown.…
Vinod Menezes
  • 355
  • 2
  • 10
3
votes
2 answers

How to to get all methods in a class and store in a file Using DXCore?

I am trying to write a simple console application as a learner with Dxcore open Api's. I have parsed a C# file using the following line of code. LanguageElement parsedFile = parser.ParseFile(fileLocation) and i want to try few basic things…
Sachin
  • 155
  • 1
  • 8
3
votes
1 answer

How to disable CodeRush for Roslyn

In the Roslyn version of CodeRush we seem to have lost the option to disable CodeRush via the DevExpress menu. Any idea how it can be done now? I don't want to uninstall it, just want to troubleshoot a very delayed right-click menu.
1
2
3
9 10