Author |
Topic |
|
timparr
New Member
United Kingdom
3 Posts |
Posted - Nov 24 2011 : 09:59:32 AM
|
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
|
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 |
|
|
timparr
New Member
United Kingdom
3 Posts |
Posted - Nov 28 2011 : 05:31:12 AM
|
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 |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Nov 28 2011 : 7:18:03 PM
|
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 |
|
|
timparr
New Member
United Kingdom
3 Posts |
Posted - Nov 29 2011 : 12:01:50 PM
|
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 |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Nov 29 2011 : 3:53:12 PM
|
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 |
|
|
|
Topic |
|