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
 Add _T macro to all strings
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

alanchen
Junior Member

11 Posts

Posted - Sep 26 2014 :  7:12:33 PM  Show Profile  Reply with Quote
I see VA can add _T macro to a single string. Is it possible for it to add _T macro to all strings in a project or in a .cpp file?

Thanks

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Sep 26 2014 :  9:45:34 PM  Show Profile  Reply with Quote
I assume you are selecting the string and using a VA Snippet to do this? If so, then unfortunately no, this is a one string at a time command. However you should be able to do something fairly useful with an IDE regular expression find and replace, that looks for strings that are not surrounded with _T().

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

sean
Whole Tomato Software

USA
2817 Posts

Posted - Sep 26 2014 :  11:27:23 PM  Show Profile  Reply with Quote
I've often thought of a feature to handle this among other transformations:
case=85172
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