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
 C++ - Remove method
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tschm
New Member

2 Posts

Posted - Dec 11 2017 :  07:42:28 AM  Show Profile  Reply with Quote
An option to quickly remove a method in a header file and its implementation. The uses of this method can be replaced in a similar manner as in "Change Signature" (replacing it with TODO or a user define source code).

Why?
1.) It's the opposite of "Create Implementation". I guess, this only make sense to add it.
2.) To remove the method in the header and then go to the implementation and remove it there is tedious and interrupts the workflow

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Dec 11 2017 :  1:34:34 PM  Show Profile  Reply with Quote
A good description of why this would be helpful. This is something we are looking to add to VA's list of refactoring commands:

case=1101

zen is the art of being at one with the two'ness
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Dec 11 2017 :  8:13:32 PM  Show Profile  Reply with Quote
Inserting code to the call sites is also planned via

case=1493

It would be something like the opposite of Extract Method. We're not sure about the name yet. Maybe "Inline Method"?

Edited by - accord on Dec 11 2017 8:15:09 PM
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