T O P I C R E V I E W |
Dunemaster |
Posted - Dec 05 2012 : 12:15:18 AM 1) When using 'Extract method', the new method implementation is inserted after that last method.
Most often I need it to be inserted right after the method I'm extracting from
An option (may be not in the refactoring window, but one to be set from setting windows) would be nice
The same goes for method implementation
2) Setting protection level in 'Extract method' refactoring would be very useful.
Another option would be always extract as private
|
4 L A T E S T R E P L I E S (Newest First) |
sean |
Posted - Feb 13 2015 : 8:16:06 PM case=12454 is fixed in build 2059 |
accord |
Posted - Dec 07 2012 : 09:48:38 AM Ok, the feature request is about the ability of setting the visibility on the dialog. |
Dunemaster |
Posted - Dec 06 2012 : 11:08:15 PM Yes, I do mean visibility. Maybe I'm mistaken, but it seems to me currently the visibility for extracted method matches the visibility of calling method, which is rarely the required behaviuor |
accord |
Posted - Dec 06 2012 : 3:55:07 PM Point 1: we are considering doing this at some point:
case=12454
Point 2: I have put in a feature request for this:
case=71074
However it is not really clear for me, why you mention "always extract as private" separately. Don't you mean visibility by "protection level" in the previous sentence? (public, protected, private) Am I missing something? |