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 Snippets via shortcut in C# XML documentation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ahirth
New Member

2 Posts

Posted - Oct 07 2009 :  09:12:36 AM  Show Profile  Reply with Quote
Hi,

I want to use VA Snippets in the context of C# XML documentation. E.g. I defined a snippet with the shortcut 'xmlnull' for the code '<see langword="null"/>'.
I can choose the snipped from the context menu. I can also use the shortcut somewhere in the code, BUT in the context of C# XML documentation (between <summary> and </summary>, for example) the shortcut does not work.

Is there anything I missed?

VA X Version 10.5.1738.0
Visual Studio 2008

Thanks a lot!

Andreas

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Oct 07 2009 :  3:15:20 PM  Show Profile  Reply with Quote
Most VA Snippets are never suggested in comments, since comments are "free text", so you do not want VA trying to insert an "if" or "for" block every time you typed the English words "if" or "for".

Shortcuts that start with "/" work in comments, e.g. "/c" or "//f".

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

ahirth
New Member

2 Posts

Posted - Oct 08 2009 :  03:25:19 AM  Show Profile  Reply with Quote
Preceding the shortcuts with a '/' works great. Thanks a lot!

Andreas
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