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
 Tooltip should be updated by its parameters!
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

znakeeye
Tomato Guru

379 Posts

Posted - May 19 2010 :  11:24:49 AM  Show Profile  Reply with Quote
Currently using VAX 1649.

Consider this:
void foo(string &a, string &b);
void foo(int x, int y, int z);
When I type the following VAX shows "[1 of 2] foo(string &a, string &b)":
int myInt = 0;
foo(myInt,
When I insert a comma, VAX should select the second tooltip since the type of myInt is int:
"[2 of 2] foo(int x, int y, int z)"

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 20 2010 :  3:24:16 PM  Show Profile  Reply with Quote
VA does not currently distinguishes overloaded functions from each other.
On the other hand you may want to select the overload first (you are dealing with) before you start typing. And if you do this and VA changes the selection on its own (for any reason) one may get annoyed.

Edited by - accord on May 20 2010 3:26:37 PM
Go to Top of Page

znakeeye
Tomato Guru

379 Posts

Posted - May 21 2010 :  04:03:37 AM  Show Profile  Reply with Quote
Disagree. If you provide a CString as first parameter, you made an explicit choice not to use the signatures that do not match. Of course, if you undo that operation (e.g. Ctrl+Z or backspace), then the previously selected item should be set again.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - May 31 2010 :  1:00:45 PM  Show Profile  Reply with Quote
I have put in a feature request to see what our developers make of this:

case=45080

some of the time we should be able to work out which overload you are calling, but there are going to be a lot of edge cases where it is not so clear.

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

Mordachai
Tomato Guru

USA
224 Posts

Posted - Jun 09 2010 :  11:45:49 AM  Show Profile  Reply with Quote
I would love to see this implemented...

I can imagine the [1 of 16] reducing to [1 of 8] as I type, reducing the number of matching overloads, etc.

Yes, it cannot be certain - there will be ambiguity, but some items can be ruled out, which reduces the number of possible overrides you need to flip through, and in some cases, only one will be left, making the tip that much more useful that much more often :)
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Jun 11 2010 :  11:35:00 AM  Show Profile  Reply with Quote
A very interesting idea, I have put a note onto the case about this. Thank you for the thought.

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