Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Delete methods

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
drzoom Posted - Nov 23 2006 : 08:19:29 AM
Preface: Most of the code I refactor is very complex and has many dependencies. After solving the dependencies I usual find out, that the code isn't referenced nor used anywhere. So I can delete all the complex self referencing methods.

Topic: There should be a refactoring action to delete a method with all implementations.

Your objections:
  • It's dangerous delete things, even the user has requested it. (Some story from the past when deleting code lead to an air plane crash... ;-) )

Bonus features to implement:
  • Sometimes I would delete the whole tree of methods from all subclasses...

  • If I click the method in the class view, a menu entry "delete" would be helpful.

  • A working undo entry.

  • Removing trailing newlines behind the method implementation after deletion.

1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Nov 23 2006 : 12:57:50 PM
Some form of "delete method" is being considered. I have added the idea of scanning the derived classes as well.

case=1101

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