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
 Listbox suggestion in 1649
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

architekt
Ketchup Master

USA
51 Posts

Posted - Oct 16 2008 :  3:19:21 PM  Show Profile  Reply with Quote
I can repro this every time: if I name a variable "psettings", and then later start typing "ps" to spell it, I get a listbox with 2 suggestions. The first is PSET_PARTITION_INFORMATION which I have no clue what that is (trying to find the declaration of it doesn't work and it doesn't appear in any of the files in my entire solution) and the second is "psettings". The annoying thing is that if I'm working quickly my usual instinct is to hit return to accept the suggestion but that winds up being incorrect. I've attached a screenshot of the error.

architekt
Ketchup Master

USA
51 Posts

Posted - Oct 16 2008 :  7:51:31 PM  Show Profile  Reply with Quote
Ahhh, apparently if I turn off the allow acronyms/shorthand option, this goes away. Problem solved!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Oct 17 2008 :  09:24:21 AM  Show Profile  Reply with Quote
There is a second point here, the screen shot shows a suggestion listbox. These are simply VA's best guess at what you are typing. They are very good, but if you automatically accept the first suggestion without reading it then you will get the wrong thing some of the time.

Sometimes VA's best guess is wrong, or unexpected

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

architekt
Ketchup Master

USA
51 Posts

Posted - Oct 17 2008 :  12:26:39 PM  Show Profile  Reply with Quote
Is there a way to make VA prioritize suggestions that appear within your projects over like system library stuff? I guess a "proximity" sorting kind of thing where it orders suggestions based on whether it appears in the file, project, solution, system? That'd obviously make it not alphabetically sorted but I think in my case it'd work out better. Course, I could actually wind up hating it but I'm curious if you guys thought about something like this before. Thanks!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Oct 18 2008 :  1:38:30 PM  Show Profile  Reply with Quote
Turning on:

VA Options -> Advanced -> Suggestions -> Include bits of code from surrounding lines

should help. We are making changes internally to try and make suggestions more "intelligent" and more helpful. We are also considering giving direct priority to local symbols:

case=10535

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