views:

9

answers:

0

I have a large number of auto-generated (from XML) classes that also can contain some manually added members. When doing it's work, the generator would only add new members to the file, and leave the rest alone. Now I've decided to split the class to two files. One containing auto-generated content, and other containing manual members and possible overrides.

Right one when I generate the new partial class file, and include it into the project, Resharper is helpful enough to highlight the (many, many) already declared members in the old file. Unfortunately, there is no option to delete the member declaration (from old file only, not the whole class) in the Resharper context menu. Does anyone know of a plugin that already does that or will I need to write it myself? Also, since there are many, many such errors in each file, is it possible to somehow tell Resharper to apply an action to all errors of that type in a single file?