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
 VA Snippet Completion problems
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

SamDoctor
New Member

USA
3 Posts

Posted - May 01 2009 :  4:30:36 PM  Show Profile  Reply with Quote
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.

Version I have is 10.5.1721

Sincerely,
Sam

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 01 2009 :  6:59:04 PM  Show Profile  Reply with Quote
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)

Edited by - accord on May 01 2009 7:06:50 PM
Go to Top of Page

SamDoctor
New Member

USA
3 Posts

Posted - May 02 2009 :  11:08:20 AM  Show Profile  Reply with Quote
I am using emacs bindings in VS 2008. I knew of problems using emacs bindings in VS 2005 but see a better experience in VS 2008.

Let me test with normal/default bindings and get back to you.
Go to Top of Page

SamDoctor
New Member

USA
3 Posts

Posted - May 04 2009 :  1:13:55 PM  Show Profile  Reply with Quote
I verified that the problem happens with Emacs bindings turned on for VS 2008. I was wondering if there was any workaround or a potential for a fix?

Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 04 2009 :  4:27:35 PM  Show Profile  Reply with Quote
Completion problem with Emacs keyboard mapping scheme is

case=20622

Unfortunately currently the only workaround is to use other scheme.

Edited by - accord on May 04 2009 4:28:04 PM
Go to Top of Page

space_cowboy
New Member

8 Posts

Posted - Feb 17 2010 :  04:20:37 AM  Show Profile  Reply with Quote
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
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Feb 17 2010 :  08:38:05 AM  Show Profile  Reply with Quote
I have increased the priority on this bug for you, hopefully this will help.

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