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
 Unfactor
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

JoeBuddha
New Member

USA
6 Posts

Posted - Dec 12 2007 :  8:25:06 PM  Show Profile  Reply with Quote
How about an Unfactor button: Take a function call and replace it with the code. I've had occasions when I wished I hadn't factored out a function, and wished I could replace the call with the code. Maybe with a "remove function" option...

- JoeBuddha
(Buddhism is the art of being human.)

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Dec 13 2007 :  3:20:35 PM  Show Profile  Reply with Quote
We are considering a form of this which would expand / remove a macro:

case=5160

The problem with removing a function call is that some functions are quite complex. Even simple functions often introduce local variables, and then you have the problem of duplicate variable names if the same variable exists in the current code.

I am not sure how useful this would really be. If you have very short functions what about making them inline functions? The compiler may then remove them for you.

zen is the art of being at one with the two'ness
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