T O P I C R E V I E W |
darrenecm |
Posted - Apr 04 2013 : 10:47:06 AM 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
|
4 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Apr 04 2013 : 3:03:06 PM I am glad this is now working well, if you have any further problems with this please let me know  |
darrenecm |
Posted - Apr 04 2013 : 3:00:45 PM Never mind. I added a new DWORD ListboxSelectionStyle entry and set the value to 2 and it appears to be working :) |
darrenecm |
Posted - Apr 04 2013 : 2:40:44 PM 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? |
feline |
Posted - Apr 04 2013 : 11:17:40 AM 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  |
|
|