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
 Suggestions auto-select feature
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

darrenecm
New Member

7 Posts

Posted - Apr 04 2013 :  10:47:06 AM  Show Profile  Reply with Quote
Hey all.

I'm a little confused with the consistency of the suggestions and listbox behaviour when typing code in Visual Studio 2012 C++.

Here's a series of screenshots:


1. This shot shows that as I go to type LRESULT, the suggestion list works as I'm expecting and also has the LRESULT entry automatically selected as shown by the blue highlight, ready for me to simply hammer TAB or ENTER to accept it. So far, so good.




2. As I move on and press space and begin to type CALLBACK, the suggestion lists again pops up but this time there is no automatic selection made, shown by the lack of anything highlighted in blue. Even as I continue to type more letters to narrow down the suggestions, nothing is ever highlighted as a suggestion for me and I have to either use the up and down arrows or the mouse to manualy select from the list.



3. However, if I choose to click on the Show All Symbols icon or I use the shortcut equivalent SHIFT + SPACE, the suggestion list suddenly does decide to automatically choose a selection for me to consider.



Is this expected behaviour? Whey does the list box in step 2 behave differently, refusing to automatically make a selection for me based on what I've typed so far? I thought it may be a problem caused by the 'Shrink when possible' in the Advanced -> Listbox options but the behaviour persists if I untick that option.

I have Visual Studio Assist X version 10.7.1929.0 installed with Visual Studio 2012 Ultimate with Update 1.

Thanks for any help.

- D





feline
Whole Tomato Software

United Kingdom
19187 Posts

Posted - Apr 04 2013 :  11:17:40 AM  Show Profile  Reply with Quote
This is happening because when you are typing "callb" after LRESULT VA thinks you are creating a new variable or function. Since this is a new variable or function name, any suggestions for its name are just "guesses", and probably not what you want. So these suggestions are listed, but the listbox does not have focus so that you can simply ignore the listbox and type the new, unknown name.

There is a registry key setting that you can use to control this behaviour, and make sure that these listboxes always have focus, which is explain here:

http://docs.wholetomato.com?W350

I hope this makes sense and helps

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

darrenecm
New Member

7 Posts

Posted - Apr 04 2013 :  2:40:44 PM  Show Profile  Reply with Quote
Ah I see. Thanks for the clarification.

I checked the registry entries and couldn't find the keys called ListboxSelectionStyle or SuggestionSelect in my VANet11 registry section. Has it been renamed again in the latest builds?
Go to Top of Page

darrenecm
New Member

7 Posts

Posted - Apr 04 2013 :  3:00:45 PM  Show Profile  Reply with Quote
Never mind. I added a new DWORD ListboxSelectionStyle entry and set the value to 2 and it appears to be working :)

Edited by - darrenecm on Apr 04 2013 3:01:15 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19187 Posts

Posted - Apr 04 2013 :  3:03:06 PM  Show Profile  Reply with Quote
I am glad this is now working well, if you have any further problems with this please let me know

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