Custom Types for Use in Templates
When using a code template, you type an abbreviation that is expanded into a meaningful code block. Such abbreviations may consist of several parts one of which denotes a data type. For instance, "vi" stands for an integer variable, while "vb" for a Boolean variable.
CodeRush allows you to register any type for use in templates. Right-click a type name and select the Use Type in Templates... item. Once you've specified a short alias for your type, you can use it in exactly the same manner as you do with built-in types.
Extend Selection Embeddings
The Selection Embedding feature allows you to easily surround a selected code block with predefined statements. It allows you, for instance, to embed selected code lines into a try/finally block or a for loop. Selection embeddings allow you to add text before and after the current selection, change the resulting caret position, drop markers, paste clipboard content into the specified location, etc.
CodeRush allows you to customize built-in selection embeddings or create custom ones.
Extend Visual Studio via Plug-ins
Every single CodeRush feature is implemented as a plug-in using Visual Studio's form designer and property browser. While the VSIP SDK gives you the ability to extend Visual Studio, CodeRush makes it easy and fun.
You can extend Visual Studio using 100% managed Code in a completely visual manner.
CodeRush is fully integrated within the IDE itself, so you can start extending your development environment today. It provides built-in wizards that allow you to create custom plug-ins and extend Visual Studio. Feel free to exploit third-party plug-ins created by the CodeRush community.