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
 AutoComplete, popup, but not easily selectable
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

John_H_Bergman
Tomato Guru

USA
198 Posts

Posted - Aug 02 2006 :  11:07:28 PM  Show Profile  Reply with Quote
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.

John H. Bergman
CTO
SiliconZone


[email protected]

To Send email, remove the .online.

WannabeeDeveloper
Tomato Guru

Germany
775 Posts

Posted - Aug 03 2006 :  02:57:31 AM  Show Profile  Reply with Quote
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.

Go to Top of Page

peterchen
Tomato Guru

126 Posts

Posted - Aug 03 2006 :  08:15:48 AM  Show Profile  Reply with Quote
Same in VS2005, VC6 C++, C#

the popup list does not show any selection in that case.
Go to Top of Page

kevinsikes
Tomato Guru

USA
271 Posts

Posted - Aug 03 2006 :  09:59:54 AM  Show Profile  Reply with Quote
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.

Kevin Sikes
Infotainment Platform Design Engineer
Ford Motor Company
Go to Top of Page

khb
Tomato Guru

Germany
337 Posts

Posted - Aug 03 2006 :  3:25:54 PM  Show Profile  Reply with Quote
Like Kevin, I faced the same thing for VC6 (Win XP, Build 1530).

Regards,
Marcus.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Aug 03 2006 :  7:13:59 PM  Show Profile  Reply with Quote
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?

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

John_H_Bergman
Tomato Guru

USA
198 Posts

Posted - Aug 04 2006 :  12:10:18 AM  Show Profile  Reply with Quote
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.

John H. Bergman
CTO
SiliconZone


[email protected]

To Send email, remove the .online.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Aug 06 2006 :  1:48:32 PM  Show Profile  Reply with Quote
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?

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