Types Declaration
Type declaration templates make it easy to create classes, structs, interfaces etc. These templates will only fire in valid conditions (e.g. on an empty line, outside a method or property), so you are free to use these template mnemonic letters as local variables inside methods and properties.
CodeRush Classic includes the following one key templates declaring types:
Template | Declaration |
---|---|
c | Class with default constructor |
i | Interface |
s | Struct |
e | Enum |
a | Abstract Class |
d | Delegate |
x | Exception |
You can find the extended type declaration templates in the Declarations category on the Templates options page.