To create a custom Code Cleanup profile
  1. Choose ReSharper | Options | Code Editing | Code Cleanup, or click Ctrl+Alt+F to open the Code Cleanup dialog box.
  2. Click Edit Profiles.
  3. In the Code Cleanup tab in the Options dialog box, click Add to create a new custom profile.
  4. Specify a name for the new profile in the Profile Name dialog box, and click OK.
  5. Make sure that your new profile is selected in the list of profiles in the Code Cleanup tab.
  6. Configure profile settings in the Selected profile settings area. See table below for details on each profile setting.
  7. Click OK.