I am seeing problems when I try to auto complete words or statements which map to VA Snippet.
For example when I start typing:
"t" or "tr" the list box pops up with suggestion of "true" selected which is good. Now if I use <TAB> and expect auto completion what I get instead of "true" is "ttrue" or "trtrue" depending upon what I had previously typed (t or tr) before I pressed <TAB>.
I have noted that I only get this problem when VASSIST indicates it is a VA Snippet, not for other completions. Also sometimes in the list box it indicates that "true" is a VA Snippet and other times not and I am at a loss to understand under what circumstances it gets confused.
What keyboard mapping scheme do you use? You can check it here:
IDE tools menu -> Options -> Environment -> Keyboard
in VS2005/2008. There are known problems with the Emacs scheme. If you use the default one, can you please export your VA and IDE settings and send them to me:
VA Options -> Performance -> Export Settings IDE tools menu -> Import and Export Settings -> Export selected environment settings
so I can import them here to try to reproduce this problem. Which version of Visual Studio do you use? Does this happen if you press enter to accept the suggestion, or only when you use tab?
>Also sometimes in the list box it indicates that "true" is a VA Snippet and other times not and >I am at a loss to understand under what circumstances it gets confused. There is a "shortcut" for every snippet. If you type exactly this snippet, you will always get it by default. For true, this shortcut is "t", so you should always get true snippet if you type only "t". You can check snippet shortcuts here:
VA Options -> Advanced -> Suggestions -> Edit VA Snippets (button)
Is there any fix in sight for this issue? I just convinced my boss to extend our maintenance for VA just because I hope for a fix to this. It would be nice if it could get a little higher priority.
Edited by - space_cowboy on Feb 17 2010 04:21:02 AM