ReSharper Help

Generating Type Members

ReSharper | Edit | Generate Code
Alt+Insert
ReSharper_Generate

With ReSharper, you can quickly generate different type members. To view the list of available code generation options for the current type, press Alt+Insert or choose ReSharper | Edit | Generate Code in the main menu.

Generating type members with ReSharper

Most of ReSharper's member generation features are available in C# and Visual Basic .NET , some are available in several languages, others are language-specific. The table below lists all member generation features and languages/technologies where they are supported.

The instructions and examples given in the topics within this section address the use of member generation features in C#. For more information on member generation features available for specific languages, see the corresponding topics in the ReSharper by Language section.

Feature C# VB.NET C++ HTML ASPX Razor JavaScript TypeScript CSS XML XAML RESX Build Scripts
Generate Constructorsfeature_availablefeature_availablefeature_availablefeature_available
Generate Properties/(Getters and Setters) feature_available feature_available feature_available
Generate Implementing/Overriding Membersfeature_availablefeature_availablefeature_availablefeature_available
Generate Delegating Members feature_available feature_available
Generate Partial Methods feature_available feature_available
Generate Equality Members feature_available feature_available feature_available
Generate Hash Function feature_available feature_available feature_available
Generate Equality Comparer feature_available feature_available
Generate Formatting Members feature_available feature_available
Generate Event Subscriptions feature_availablefeature_availablefeature_available
Generate Definitions feature_available
Copy and move operations feature_available
Relational operations feature_available
Stream output operator feature_available
Swap function feature_available
Generate Content for Placeholdersfeature_available
Last modified: 21 September 2015