ReSharper
 
Get ReSharper
You are viewing the documentation for an earlier version of ReSharper.

Extract Members to Partial refactoring

Last modified: 21 July 2022

ReSharper | Refactor | Extract Members to Partial…

To assign a shortcut, go to Tools | Options | Environment | Keyboard and find the ReSharper_Type2Partial command.

This refactoring helps you move selected type members to another part of a partial type. If necessary, ReSharper will make the current type partial, create a new part of this type and a file for it — all in one go. All necessary imports are moved with the moved members.

ReSharper. 'Make Partial' refactoring

This feature is supported in the following languages and technologies: