Thursday, January 27, 2011

Resharper 4.0 encapsulation question...

When using Resharper to encapsulate a classes properties, is there a way to get it to do more than one property at a time?

  • I don't think there such a feature out of the box.

    However, you could write a RS plugin that does this. But this would be another question...

  • You might or might not already know this (R# does suffer from a lack of discoverability, unless you get the one-page key-shortcut page printed out), but ALT-INS opens a box which can at least mass-generate properties for fields.

    Not sure if that's any use - it's not the same as a retrospective encapsulation.

    From Will Dean

0 comments:

Post a Comment