Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Extract method enhancements

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

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?

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000