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
 Surround selected text with #ifdef
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

fspafford
Senior Member

USA
45 Posts

Posted - Mar 10 2008 :  1:23:46 PM  Show Profile  Reply with Quote
This page:

http://wholetomato.com/products/features/surround.asp

says:

Specify the value for the #ifdef in the Visual Assist X options dialog. Surrounding is enabled in one place in the options dialog; the value for #ifdef is specified elsewhere since it relates only to C/C++. Though the option is grayed, the edit field still allows entry of the #ifdef value.

I am using the latest version with VS2005 but I don't see this field in the options dialog. What am I missing?

Thanks,

Frank

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Mar 10 2008 :  5:16:26 PM  Show Profile  Reply with Quote
Apologies for that, the documentation is out of date. In the VA 16xx builds we have replaced this options dialog setting with a VA Snippet. If you go into the VA Snippet editor and look for a snippet with the shortcut "#if" and the title "#ifdef (VA X)", this is the snippet that is used.

The default snippet triggers a dialog box that prompts you for the #ifdef condition, so you can accept the default or change it when you surround the code.

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