Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Update signature from usage
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kolobog007
Junior Member

Russia
12 Posts

Posted - May 08 2011 :  4:44:09 PM  Show Profile  Reply with Quote
We have great feature "create from from usage", which can parse arguments types automaticaly, and not bad feature "change signature", but with manual editing.

What about combining them both? When you changing arguments you can just click "update signature from usage" on the method call and VA will parse types and change signature automaticaly.

Edited by - kolobog007 on May 09 2011 04:00:24 AM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 09 2011 :  8:32:54 PM  Show Profile  Reply with Quote
Interested idea, but I am wondering what programming practice may require this. Create from usage is for top-down programming. I mean, sure, you may run into some situation that would be easier with a new refactoring like this, but how often?
Go to Top of Page

kolobog007
Junior Member

Russia
12 Posts

Posted - May 10 2011 :  10:44:37 AM  Show Profile  Reply with Quote
Same programming practice, which require "change signature" and "create from usage". How often? Enough. When i want to split class or method, or change how method works, when i want to promote local variable to field and need to change methods call chain to exclude old argument.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 10 2011 :  7:19:11 PM  Show Profile  Reply with Quote
Thank you for the explanation. I have found this idea as a feature request in our database so I have added a comment that another user would like to see this implemented:

case=48205
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000