Declare Extension Method for CodeRush This plugin provides a new 'Declare Extension Method' CodeProvider. The CodeProvider is available on any call to a non-existant method on an object. For example: In the following code, MyNewMethod is undeclared. Place your caret on the call to MyNewMethod and hit your CodeRush\Refactor key (Defaults to Ctrl+`) Choose Declare Extionsion Method from the menu, and CodeRush will generate a new static class containing your new extension method. This plugin is open source and is available on GitHub This plugin requires CodeRush. You can locate a free trial of CodeRush here. CodeRush is a powerful productivity tool built byDevExpress. It is designed to help you produce higher quality, more readable code with far less effort and in a fraction of the time. |