Suggestion: encapsulate multiple fields

Hello,

A very nice feature in Eclipse that could/should be incorporated into Reshaper (imo) is the ability to highlight multiple fields and generate getters and setters for them all in one go. Resharper's 'encapsulate field' functionality works very nicely, but it would definitely be good to be able to generate multiple sets of properties in one go...

Thanks,
Carlos

2 comments
Comment actions Permalink

On Thu, 18 Jan 2007 16:26:04 MSK, carlos rule <no_reply@jetbrains.com>
wrote:

>Hello,
>
>A very nice feature in Eclipse that could/should be incorporated into Reshaper (imo) is the ability to highlight multiple fields and generate getters and setters for them all in one go. Resharper's 'encapsulate field' functionality works very nicely, but it would definitely be good to be able to generate multiple sets of properties in one go...
>
>Thanks,
>Carlos

Resharper -> Code -> Generate... -> Read/Write/Read-Write Property ->
select the desired fields.

It's not exactly the same behaviour as encapsulate, but it should
serve.

0
Comment actions Permalink

ah yes, right you are!

thanks,
carlos

0

Please sign in to leave a comment.