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
 Technical Support
 VAX 1524: refactoring: Find Reference - operators
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Jun 21 2006 :  5:43:38 PM  Show Profile  Reply with Quote
Using "Find Reference" on any operator does not return any results.
Likewise, "Rename" on a operator does not work (ok, understandable, can be disabled?)


jpizzi
Tomato Guru

USA
642 Posts

Posted - Jun 22 2006 :  01:16:34 AM  Show Profile  Reply with Quote
Rename method on operator overload:

case=1429

Find References on operator overload:

case=1430

Personally, I can see that both would be very hard to implement, so disabling the options would be appropriate. I can think of a case where the rename would be handy. But not a very common happenstance, IMO.

Joe Pizzi
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Jun 22 2006 :  07:57:30 AM  Show Profile  Reply with Quote
Fully agree. Makes not much sense to "rename" only.
Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Jun 23 2006 :  11:43:19 PM  Show Profile  Reply with Quote
The example I thought of was if you wanted to change from an overloaded operator to a regular method. But, in such a case, I can see where, for example, looking at all "+" operations in the code to see which, if any, were the overload of the current operator+ that you have highlighted....

Not a pretty sight.

Joe Pizzi
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Jun 24 2006 :  07:58:44 AM  Show Profile  Reply with Quote
Exactly. Thats something i would not try to do by search/replace.
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