Can we get the ability to encapsulate multiple fields at once?
I use WPF Prism and need to encapsulate fields all the time and find myself writing all the backing variables first and then have to one by one select the variable and right-click, etc... This can be very tedious if you have lots of fields (as you typically do in Prism apps).
Would be nice to be able to highlight them all and do encapsulate just once.
I like the keyboard shortcut idea. Maybe another option would be to make a "Quick" Encapsulate that just does the change without the intervening dialog box?
You should just be able to press Enter without interacting with the dialog box, so the dialog should be fairly fast. Is seeing the dialog causing a significant slow down for you?
That's fair, and gives a sense of scale of the number of variables you are dealing with. We are considering an option to suppress the dialog, just generating the getter / setter for the variable, which would clearly help here: