Partial methods are defined in different parts (different files) of a partial type - one part contains the signature of the method while the other part contains its implementation.
The Generate partial methods command will help you create implementation stubs for not implemented partial methods.
tip
Depending on your settings, stubs for new members can be generated in different ways. For example, they can throw new NotImplementedException(), return default value, or include code that will not compile. You can configure these and other preferences on the Code Editing | Members Generation page of ReSharper options ( Alt+R, O ).
Generate implementations of partial methods in a partial type
In the editor, place the caret within a partial type at the line where you want to insert implementations of partial methods.
Press AltInsert or choose ReSharper | Edit | Generate Code… from the main menu. Alternatively, you can press CtrlShift0A, start typing the command name in the popup, and then choose it there.
In the Generate popup, select Partial Methods.
In the Generate dialog that appears, select partial methods to create implementation stubs for.
Click Finish to complete the wizard.
You can also click Options to review or modify common code generation preferences on the Code Editing | Members Generation page of ReSharper options.
tip
To bind this code generation command to its own shortcut, go to Tools | Options | Environment | Keyboard and assign a shortcut for the ReSharper_GeneratePartialMethods command.
This feature is supported in the following languages and technologies:
The instructions and examples given here address the use of the feature in C#. For more information about other languages, refer to corresponding topics in the ReSharper by language section.