Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 AutoComplete, popup, but not easily selectable

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
John_H_Bergman Posted - Aug 02 2006 : 11:07:28 PM
I have noticed that often times an auto-complete pops up, but when I press tab to accept it, it inserts the tab into the code.

This is C#, VS2005.
7   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Aug 06 2006 : 1:48:32 PM
could you post a code example? i have no idea what you mean. how can you get from part of a variable name to a class name?
John_H_Bergman Posted - Aug 04 2006 : 12:10:18 AM
Something else I've noticed is that if I attempt to use a variable that I have not defined, but is in the surrounding code already, VA will show it in the list, but when I press TAB, it removes the definition, and I am left with the class name.
feline Posted - Aug 03 2006 : 7:13:59 PM
under some conditions the suggestion listbox will have no focus. this is a new feature in the recent builds. when this happens tab or enter will enter these characters into the code, rather than selecting something.

this is supposed to only happen when VA thinks you are adding a new variable or function to your code, so the suggestions are unlikely to be correct.

i recently discovered, and put in a case for, the fact that if you have "Include bits of code from surrounding lines" turned on VA is much more prone to getting the focus wrong. if people have this option turned on then this may be a factor.

if anyone is getting this problem consistently, and they are not adding a new variable or function, could they post a few lines of code that reproduce the effect?
khb Posted - Aug 03 2006 : 3:25:54 PM
Like Kevin, I faced the same thing for VC6 (Win XP, Build 1530).

Regards,
Marcus.
kevinsikes Posted - Aug 03 2006 : 09:59:54 AM
I've seen this on VS.NET 2003 C++ with VA X 1530. Sometimes when the suggestion listbox contains exactly one entry, it is not selected by default. I press <Enter> to autocomplete, and instead the suggestion listbox is dismissed and a carriage return is inserted into the source code.
peterchen Posted - Aug 03 2006 : 08:15:48 AM
Same in VS2005, VC6 C++, C#

the popup list does not show any selection in that case.
WannabeeDeveloper Posted - Aug 03 2006 : 02:57:31 AM
I've seen that, too, in VS 2005 and C++. Not very often, but it happens.

It seems as if the auto-complete-dropdown simply looses focus and thus the TAB is inserted as a TAB instead of selecting/inserting the desired code.

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