Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Offering only valid elements

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
RFOG Posted - Apr 01 2009 : 12:55:12 PM
Perhaps it is a nonsense, but I think it could be a great implementation.

I cannot put my idea in English, then I'm going to explain it by example:

Suppose next code:

CString hello="Hello";
int iHello=3;
double dHello=4.5;
double d=sqrt(_

Current VA offers all the vars and some other stuff, but it can see the signature of squrt and find that it expects a double, and perhaps VA could offer first the dHello and select it as default.

This can be done in most parts of VA. Other sample:

CTreeCtrl tree;
...
CString s=tree._

Then, instead of opening all methods of CTreeControl, VA could open only those methods that returned CString, CString & and variations of TCHAR*...

I'm not talking about show only those methos, but order them dynamically and offer them first.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Apr 09 2009 : 4:33:29 PM
I see what you are asking for, I am wondering what VA should try to do here.

We have two types of listbox, suggestion listboxes are VA guessing, while member / completion listboxes list "everything".

The first example, typing a parameter for sqrt() you will probably see a suggestion listbox. Trying to filter the guesses better is reasonable.

The second example, you should see all members of CTreeCtrl. You can filter these listboxes to hide private members, etc, but you cannot currently filter them on return type:

http://www.wholetomato.com/products/features/members.asp

Reordering the list to show some first, based on return type, is going to clash with:

VA Options -> Advanced -> Listboxes -> List non-inherited entries first

Thinking about this, if we listed some members of CTreeCtrl first we would have to show them in bold, or italic, somehow make them stand out, so you can see we have done something clever.


I have put in two cases for this, to see what our developers think of this. Suggestion listboxes is:

case=25846

Member listboxes is:

case=25847

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