Code Generation is a powerful feature for adding new code avoiding typos and mistakes. ReSharper provides several types of templates.
-
You can insert a new variable declaration, a Select Case statement, etc.
using live templates:
-
And quickly enclose an expression, statement or some other selected block of code
using surround templates:
-
Create a new class, interface, structure, etc. based on
file templates:
-
Generate members inside your class based on members of the current class and base classes:
