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
 VAX 1221: suggestions in strings
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Mar 23 2004 :  5:27:28 PM  Show Profile
When I write a #define which includes a string, VA seems not to recognize that its a string and continues to suggest function names.

e.g.:
#define ON_MMC_COMMAND(id, fn) case id: { \      ATLTRACE2(atlTraceUser, 0, _T("::OnCommand()->" #fn "\\n")); \      fn(pComponent, pConsole, piDataObject);} break;

So when I'm typing the "::On... text, the suggestion list comes up with various OnWhatever functions.

This seems to happen only in #defines with strings, normal strings do not cause the suggestions to come up.

willdean
Tomato Guru

134 Posts

Posted - Mar 23 2004 :  6:52:36 PM  Show Profile
I think this occurs with all preprocessor directives - I've noticed it with #pragma comment(lib, "blah-blah").

At first I thought it was going to suggest library names, but it's not, it's just irrelevant stuff, same as you're seeing.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000