Refactor multiple selected items (methods, constants, etc) at once

Answered

I keep running into this issue, and wondering if there is something I'm missing.  Wanting to know if there is a way to apply a refactoring to multiple selected items at once?

For example, if I have a constants class, and I want to extract x # of the constants out, if I select them all as a block in the IDE, and start the move refactoring, only one item is checked in the "Members to be moved" dialog.  I'd like to have all of the selected items moved.

This seems to apply to all of the refactorings that I've tried.  They seem to take only the object directly under the mouse cursor instead of all of the selected items.  Not sure if this is a configuration that I'm missing, or if I should add a feature request. I find it easier to rope them all with the mouse than to click all of the checkboxes.

Screenshot below to illustrate:


 

0

Please sign in to leave a comment.