Blogs

Mark Miller

Miller on DNR TV -- Intelligent Code Generation in Visual Studio with CodeRush

     

I'm deep in code and surfacing briefly only to mention this DNR TV session I recorded with Carl Franklin. The session gives you a taste of how to create language-independent intelligent code generators inside Visual Studio that work with CodeRush or CodeRush Xpress. For anyone who prefers watching a movie over reading DXCore plug-in tutorial blog posts, this one's for you:

http://www.dnrtv.com/default.aspx?showNum=152

For developers interested in creating refactorings instead of code providers, just drop a RefactoringProvider onto your form instead of the CodeProvider -- all other steps remain the same.

Note: The source is available as a link at the bottom of the DNR TV page. This source includes extension methods for anyone working in a version of CodeRush earlier than 9.27. If you're using 9.27 or higher, those extension methods are redundant. Check out the source even if you watch and follow the video, because it includes additional functionality not covered in the video.

Published Oct 06 2009, 10:57 AM by Mark Miller (DevExpress)
Filed under: , ,
Technorati tags: CodeRush, Refactor, DXCore
Bookmark and Share

Comments

 

Przemyslaw Soszynski said:

Hi Mark,

I am trying to follow your great presentation on DNR tv. However, I just got stuck when you started using the Is method on the DevExpress.CodeRush.StructuralParser.Expression type. I just do not see it being implemented. There is a whole bunch of methods on this type that start with Is, like IsIdentifier or IsRelatedTo, but I just  don't see "Is" itself. It is also not part of the DevExpress.CodeRush.StructuralParser.InitializedVariable type. Am I missing somehting here?

Przemek

October 10, 2009 6:30 AM
 

Mark Miller (DevExpress) said:

Hi Przemek,

Yes, you are missing something. You either need a CodeRush 9.27 or greater (9.27 should available as a daily build now), or you need the extension methods available in the source code. Take a look at the link to the source above (in my original blog post).

October 13, 2009 5:49 PM
 

uberVU - social comments said:

This post was mentioned on Twitter by devexpress: Blog: Miller on DNR TV -- Intelligent Code Generation in Visual Studio with CodeRush: I'm deep in code.. http://bit.ly/BtcOt

October 20, 2009 11:00 AM

About Mark Miller (DevExpress)

Mark Miller is a C# MVP with strong expertise in decoupled design, plug-in architectures, and great UI. Mark is Chief Architect of the IDE Tools division at Developer Express, and is the visionary force behind productivity tools like CodeRush and Refactor!, as well as the DXCore extensibility layer for Visual Studio. Mark is a popular speaker at conferences around the world and has been writing software for over two decades.
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.