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
 Strange working of autocomplete
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

brain
Junior Member

Hungary
13 Posts

Posted - Nov 30 2006 :  10:09:11 AM  Show Profile  Reply with Quote
Hi!

I've found the source of a strange error I've encountered before.
Here is a minimal example

#include <windows.h>
int main()
{
int Test= 1;
Te<complete-word>

return 0;
}

Here you'll get a list of symbols. Now type ; or space and it replaces the "Te" with the selected symbol. But I have this feature turned off!
Accept with any character not valid in a symbol is unchecked, and it works OK most of the time.

I'm using VS2005 and version 1540

Thanks
Brain

feline
Whole Tomato Software

United Kingdom
18942 Posts

Posted - Nov 30 2006 :  4:41:30 PM  Show Profile  Reply with Quote
The option is:

VA Options -> Text Editor -> suggestions -> display suggestion list and accept with: Any character not valid in a symbol

this applies to suggestion lists, ones with a question mark icon. Are you seeing a suggestion list, or a completion list, which appears after CTRL-SPACE?

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

brain
Junior Member

Hungary
13 Posts

Posted - Dec 01 2006 :  04:40:54 AM  Show Profile  Reply with Quote
I'm seeing a completion list. I've turned of suggestion list because they were too inaccurate.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18942 Posts

Posted - Dec 01 2006 :  2:15:42 PM  Show Profile  Reply with Quote
If I stop VA from loading and restart the IDE I see exactly the same behaviour on a completion listbox. So VA is simply doing the same thing as the IDE, for consistency.

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