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
 Help with autocomplete
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

timparr
New Member

United Kingdom
3 Posts

Posted - Nov 24 2011 :  09:59:32 AM  Show Profile  Reply with Quote
Hello,

I am currently trialling this and it looks great, however I have one problem.

In native vb, the autocomplete list limits the entries to only those that are allowed by the function. e.g

If I type

If MessageBox.Show("","") =

Then under default vb I get a list of allowed items - windows.forms.dialogresult.abort, cancel, ignore etc.

When I enable VA-X then I get a much longer list which is less than helpful.

Please can you tell me what settings I need to set to have the list filtered to only the permitted options in this list, or alternativly how to turn just this feature off - (I am happy to use the native intellisense)

Thanks

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Nov 24 2011 :  3:56:18 PM  Show Profile  Reply with Quote
Which IDE are you using?

Perhaps I am doing something wrong with my test, but when I type this line of code in a .vb file, in VS2010, on a machine with no VA at all, I get a LONG listbox.

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

timparr
New Member

United Kingdom
3 Posts

Posted - Nov 28 2011 :  05:31:12 AM  Show Profile  Reply with Quote
Yes, they changed the default setting with the new intellisense in 2010 - but you can change it back. In tools-options-text editor-all languages you have options to hide advanced members which defaults the list to the 'common' tab.

http://msdn.microsoft.com/en-us/library/f7w81h6c(v=vs.90).aspx

Tim

Tim
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Nov 28 2011 :  7:18:03 PM  Show Profile  Reply with Quote
I have made a new VB Forms application, which is letting me reproduce this effect. I have the VS2010 option you mention turned on but the common tab is not the default tab.

This makes sense, and the items in the common tab would make sense for the content of a VA suggestion listbox, so I have put in a feature request for this change:

case=63005

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

timparr
New Member

United Kingdom
3 Posts

Posted - Nov 29 2011 :  12:01:50 PM  Show Profile  Reply with Quote
Thanks for this - that's great news. In the meantime is there a way to disable just this part of VAX? Or to quickly toggle VAX on and off? At the moment I am turning it off temporarily via the menu whenever I need to make assignments of this type and cannot remember the root names.

Tim
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Nov 29 2011 :  3:53:12 PM  Show Profile  Reply with Quote
For now the best solution may be to map a keyboard shortcut to the command:

VAssistX.EnableDisable

or to add this command to the VAssistX toolbar if you are primarily a mouse user. Both methods will turn VA off and on again, which seems to be the only fix for now, short of telling VA to ignore .vb files.

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