New CodeRush Plugin – Use Extension Method

Another plugin requested by our community

To paraphrase:

It would be great to have something that could recognise that an extension method was being called in the style of a normal method ie Method(Object, Params) and rewrite the call in the form of an extension method call. ie Object.Method(Params)

Ok well that seems simple enough:

Introducing the Use Extension Method Plugin

So given that we have an extension method like this:

UseExtensionMethodRequest1

… and some calling code looks like this :

UseExtensionMethodRequest2

The Use Extension Method plugin will add an option to your CodeRush SmartTag menu which will convert the method call in question to the following.

UseExtensionMethodRequest3

So where can I get this plugin?

As usual this plugin is available in 2 locations

GitHub: Here you will find the current (and historical) source of the plugin as well as the latest installable version.

The Visual Studio Gallery: Installing from the Visual Studio Gallery allows VS to locate any updates that are shipped after the initial release.

Free DevExpress Products - Get Your Copy Today

The following free DevExpress product offers remain available. Should you have any questions about the free offers below, please submit a ticket via the DevExpress Support Center at your convenience. We'll be happy to follow-up.
No Comments

Please login or register to post comments.