ReSharper 2016.2 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 not available Feature not available Feature not available Feature not available Feature available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available
Generate Properties/(Getters and Setters) Feature available Feature available Feature available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available
Generate Implementing/Overriding Members Feature available Feature available Feature available Feature not available Feature not available Feature not available Feature not available Feature available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available
Generate Delegating Members Feature available Feature available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available
Generate Partial Methods Feature available Feature available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available
Generate Equality Members Feature available Feature available Feature available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available
Generate Hash Function Feature available Feature available Feature available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available
Generate Equality Comparer Feature available Feature available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available
Generate Formatting Members Feature available Feature available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available
Generate Event Subscriptions Feature not available Feature available Feature not available Feature not available Feature available Feature not available Feature not available Feature not available Feature not available Feature not available Feature available Feature not available Feature not available Feature not available Feature not available
Generate Definitions Feature not available Feature not available Feature available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available
Copy and move operations Feature not available Feature not available Feature available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available
Relational operations Feature not available Feature not available Feature available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available
Stream output operator Feature not available Feature not available Feature available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available
Swap function Feature not available Feature not available Feature available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available
Generate Content for Placeholders Feature not available Feature not available Feature not available Feature not available Feature available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available Feature not available
Last modified: 15 December 2016