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
 1822: Use a VA-snippet in a comment
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

xMRi
Tomato Guru

Germany
315 Posts

Posted - May 05 2010 :  07:18:27 AM  Show Profile  Reply with Quote
It is possible via Ctrl+Space to activate suggestions and code completition inside a comment.

But it is not possible to insert a VA-Snippet inside a comment
I have a comment block
/* some comment
 * some info
 * some other Info*/


And I want to insert a new block of lines in a specific structure in this multi line comment section to get a specific form of documentation.

I know that I can insert a complete comment block. But that's not what I want.

I want to see VA Snipptes too when I press Ctrl+Space inside a comment section as possible selection.

TIA

BTW: I just started a discussion about that but I still miss the Sniptes in the list and I don't want to remember another hotkey ;)
http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=8200&SearchTerms=comment

Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming

Edited by - xMRi on May 05 2010 07:22:56 AM

feline
Whole Tomato Software

United Kingdom
18951 Posts

Posted - May 05 2010 :  10:59:18 AM  Show Profile  Reply with Quote
Normal VA snippets are not active in comments, to avoid them getting in the way of your normal typing. The good news is that VA snippets that start with "/" are active in comments. So the shortcuts "/c" and "//g" are both active in a comment block.

You can also map a keyboard shortcut to VAssistX.VaSnippetInsert to manually insert a VA snippet with the keyboard into a comment.

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