Skip to content
| Marketplace
Sign in
Visual Studio>Tools>'Declare Extension Method' for CodeRush
'Declare Extension Method' for CodeRush

'Declare Extension Method' for CodeRush

CodeRush Community Contributors

|
591 installs
| (0) | Free
'Declare Extension Method' for CodeRush provides a new CodeProvider 'Declare Extension Method'. This CodeProvider will, where appropriate, allow the user to generate extension methods from method calls.
Download
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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft