ReSharper 2016.1 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.

C# VB.NET C++ HTML ASPX Razor JavaScript TypeScript CSS XML XAML RESX Build Scripts Protobuf JSON
Generate Constructors feature_available feature_available feature_available feature_available
Generate Properties/(Getters and Setters) feature_available feature_available feature_available
Generate Implementing/Overriding Members feature_available feature_available feature_available feature_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_available feature_available feature_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 Placeholders feature_available
Last modified: 19 August 2016