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
 Handling of severely overloaded methods
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

lac
Senior Member

30 Posts

Posted - Mar 18 2015 :  09:53:07 AM  Show Profile  Reply with Quote
There is room for improvement to how VAX handles methods that are overloaded for many argument types (ToString, operator<<, ToJson or similarly overloaded methods for all POD types and user structs).

The 'Find Symbol' dialog box does not search in argument types. Perhaps secondary search words could search also in the argument names and types and display results with lower ranking than matches in the method name. For example searching for 'ToString double' gives no result in our workspace with 30+ ToString() methods.

The 'Goto Implementation' and 'Goto Declaration' could be more intelligent in considering the argument types of the definition under the cursor. Perhaps the best matching declarations or implementations could be displayed at the top of the pop-up menu.

Footnote: 'Find symbol' does not find any results for 'operator<<' despite 50+ definitions in our workspace.

feline
Whole Tomato Software

United Kingdom
15984 Posts

Posted - Mar 18 2015 :  10:35:46 PM  Show Profile  Reply with Quote
Filtering the Find Symbol dialog on the function parameters makes sense, and this is something we are considering doing. Keeping the system overload under control is the trick, so a separate syntax for this makes sense:

case=61242

We are looking to improve how alt-g handles overloaded functions:

case=53078

Default parameters complicate matters, so this is not as simple as it first sounds.

For operator<< can you try the filter "<<" instead of "operator<<", this should help.

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

sean
Whole Tomato Software

USA
2641 Posts

Posted - Sep 17 2016 :  2:47:00 PM  Show Profile  Reply with Quote
case=53078 is implemented in build 2112.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000