CodeRush Plugin – Navigate to Implementation

יום חמישי, נובמבר 12, 2009

EDIT: As of version 9.3.2 of CodeRush functionality similiar to that provided by this plugin is provided in the core product and support and builds for this plugin is discontinued... If you need assistance for earlier version of CR, just leave a comment and I'll get back to you. Instead of posting a new a post every time a new build of CodeRush (and the plugin) becomes available, I’ll start to post the binaries here by updating this post. If you are interested in the source code, you can get it here. If you want a walk-through of how the plugin...

Calling the Google Closure Javascript Compiler – Code

יום שלישי, נובמבר 10, 2009

Here’s a follow-up to the last post that contained a few screenshots showing the integration of the Google Closure Javascript compiler in Visual Studio. Since I said in the last post that I would make the source available if there was interest, I’m doing that now. The project structure is as following All of the code for accessing the compilation service is in the GoogleClosure project. Initially I didn’t have a Winform project. I split the projects for this post, realizing that some people interested in the code might not have CodeRush. The GoogleClosure project also contains the UI in a...
one comment

Integrating Google Javascript Compiler in Visual Studio

יום ראשון, נובמבר 8, 2009

Friday, Google released some of their Javascript tools. Among them the Closure Javascript compiler. Being excited that Google has released Closure (the compiler), I decided to give it a go. So late Saturday night after the party was over and the kids were sleeping, I played a little with the online UI when I saw that the compiler services are exposed through a REST web service. At that point it would be a crime to go to sleep. 2 hours later… In this screenshot you can see some compiler statistics. (Yes, you can use the compiler service as a pretty-printer or...

CodeRush plugin "Navigate to Implementation" – binaries for CodeRush 9.2.4

יום ראשון, אוגוסט 30, 2009

For convenience, here are the binaries for the Navigate to Implementation CodeRush plugin. It is built against CodeRush 9.2.4. A detailed overview of the functionality of the plugin can be found here. The source code is available on Google Code:  

CodeRush Plugin – Navigate to Implementation Part 4

יום חמישי, דצמבר 4, 2008

This is the last post in series on developing the navigate to an implementing method plugin. Here are links to the previous posts, part 1, part 2 and part 3. Just to recap, the goal of the plugin is to be able to position the caret (what most people call the cursor), on a method call on an interface variable and navigate to specific implementations of the method. In this post we’ll look at how we navigate to the correct method. The call to navigate is made when the navigation provider (part of CodeRush) receives the navigation event. private...

CodeRush v 3.2.1 released

יום שני, נובמבר 3, 2008

Despite the fact that my blog has been dominated by CodeRush stuff lately, I think this one has been anticipated enough to spend some extra ink… :-) Rory Becker (DxSquad) just announced (5 minutes ago) that CodeRush 3.2.1 has been released. If you are a CodeRush/Refactor! Pro user you can log in to the Client Center and download version 3.2.1.
no comments

The C# team engages in the battle – C# vs VB.NET

יום רביעי, אוקטובר 29, 2008

I’m not going to say a word about which is better. Why? Because in the scope of things it doesn’t matter. But you have to wonder if the right hand knows what the left hand is doing inside Microsoft. (One hand being the C# team the other the VB.Net team – you can choose) I got up early this morning to watch the recording of Anders Heijlsberg’s presentation at the PDC on the future of C#. 14 minutes into the recording I had to stop because the kids were up. I’ll watch the rest tonight, but...

CodeRush for free! CodeRush Xpress for Visual Studio announced

יום שלישי, אוקטובר 28, 2008

Fresh from the DevExpress booth at PDC comes an announcement that DevExpress will be providing a significant subset of CodeRush and Refactor! Pro for free. You can see the announcement here and Mark Miller gives a more technical overview of what’s available. You can download it from the DevExpress site now. It’s not all rosy though. The Xpress version is C# only! Go figure? I was very surprised by this since CodeRush and Refactor work with both VB.NET and C# seamlessly. Did they announce the end of VB.Net at PDC?Another limitation is that CodeRush Xpress edition is not supported in the...

CodeRush Plugin – Navigate to Implementation Part 3

יום שני, אוקטובר 20, 2008

In this part we’ll look at the Implementors class. As we described in part 1, a the Navigation Provider will call into our plugin twice. Once to give us the chance to make our plugin available to the user and a second time if the user selected one of our menu items. When the Navigation provider raises the event CheckAvailability we need to do two things. Check if this plugin is available in the current context. Alter the menu displayed so our options are available to the user. In step one we will first check if we are positioned...
one comment

CodeRush Plugin – Navigate to Implementation Part 2

יום ראשון, אוקטובר 19, 2008

In the previous post we just defined what we want the plugin to do. Let's start to walk through the process of creating a plugin with CodeRush. There's some plumbing that needs to be done every time you create a plugin and that is not directly related to the functionality of the plugin. For this part I'll just point you to a plugin tutorial by Mark Miller. Since our plugin will handle navigation it seems natural to hook into the Navigation provider system provided by CodeRush. Open the plugin designer The NavigationProvider does not show up in the toolbox by default...