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
 Spelling Errors Preprocessor Macros
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Jastonite
New Member

USA
3 Posts

Posted - May 30 2012 :  4:28:45 PM  Show Profile  Reply with Quote
Can there be an option to check the spelling of string arguments to C/C++ preprocessor macros? I am most concerned about the strings I present to the user, and those strings are most often passed to the _T() macro. Currently I am using a separate Visual Studio Extension to check those strings, but I would prefer not to run two extensions to check spelling.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 31 2012 :  7:36:25 PM  Show Profile  Reply with Quote
Can you please post an example macro where spell checking don't work?
Go to Top of Page

Jastonite
New Member

USA
3 Posts

Posted - Jun 01 2012 :  10:30:41 AM  Show Profile  Reply with Quote
I am referring to the documentation under "Preprocessor Macros"
http://www.wholetomato.com/products/features/misspelled.asp

So, any string passed to the _T() macro will not be checked.
ex:
TCHAR sztGreeting = _T("Helllo");

The spell checking works as advertised, but I find it unfortunate that it will not check strings passed to preprocessor macros. I presume there was some justification for that design decision (since it is specifically mentioned in the documentation), but it would be nice if there were an option to enable that kind of spell checking.
Go to Top of Page

Jastonite
New Member

USA
3 Posts

Posted - Jun 01 2012 :  10:46:02 AM  Show Profile  Reply with Quote
Correction, I forgot a symbol in my example. It shoud read:
const TCHAR* sztGreeting = _T("Helllo");
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 01 2012 :  7:20:48 PM  Show Profile  Reply with Quote
Thank you for the explanation. I have put in a request for an option to be able to turn this on to see what the developers make of it:

case=67001
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