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
 How Can i customize VA's action?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jzq740176597
Tomato Guru

China
343 Posts

Posted - May 29 2013 :  04:46:28 AM  Show Profile  Reply with Quote




When I select a block of text and press "#".
I always get that dialog to insert "#ifdef X ... #endif".
I have a careful search in Edit-Snippet but I fail to find the place to change the behaviour.
I just want to change "#ifdef ... #endif" to "#if 0 #endif".

Creation come from persist!

jzq740176597
Tomato Guru

China
343 Posts

Posted - May 29 2013 :  05:03:44 AM  Show Profile  Reply with Quote
BTW, Another question,
How I can insert the current data in text-editor fast??
thanks!

Creation come from persist!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - May 29 2013 :  11:42:34 PM  Show Profile  Reply with Quote
To edit the Snippet when you press #, in the VA Snippet editor for C++ look for the snippet called #if

This has the title #ifdef (VA X).

To insert the current data in the editor, use $selected$ in your snippet:

http://www.wholetomato.com/products/features/vasnippets.asp

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