Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 FindSymbol_cann't find the macro-symbol in cpp

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
jzq740176597 Posted - Nov 08 2012 : 8:52:09 PM
The macro-symbol in cpp of current opened sulution.



Use [FindSymbol],
Even I copy the whole macro here.Cann't get anything!
The code is right,can successfully compile it.
VA 1918 vs2008 sp1

6   L A T E S T    R E P L I E S    (Newest First)
jzq740176597 Posted - Nov 13 2012 : 01:21:28 AM
Thanks.Hope VA will Fix it soon,Good luck!
feline Posted - Nov 12 2012 : 10:22:12 PM
I have the cpp file, thank you for this. It turns out macro's declared in the cpp file do not normally show up in the Find Symbol dialog. The only reason this was working in my tests was due to some odd code I had been testing. I have put in a feature request to show macros declared in cpp files:

case=70522

As a temporary work around you could try adding the following code to your cpp file:


#ifdef VA_WORKAROUND_CODE
namespace VA_WORKAROUND_CODE PushLayerBegin() {};
namespace VA_WORKAROUND_CODE PushLayerEnd() {};
#endif

This is a hack, but it does cause the macros to show up in the Find Symbol dialog, and the Find Symbol dialog will bring you to these macros.
jzq740176597 Posted - Nov 12 2012 : 6:42:59 PM
The Cpp file have been sent.
feline Posted - Nov 12 2012 : 10:36:37 AM
Can you please send me the code file via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up. Hopefully I will be able to reproduce the problem here with this file.

The forum lets you attach pictures, but not other file types. It is a simple forum, but it does what we need it to do
jzq740176597 Posted - Nov 11 2012 : 12:08:14 AM
quote:
If you show VA Outline is this macro shown in the outline for this file?

Yes. As following:



quote:
Is this macro inside a function, class, namespace or anything else?

Absolutely not. Is at the file scope.

quote:
Is this file part of your solution? If you close the file, is it listed in VA's Open File in Solution dialog?

Of course. The cpp is a file belongs to current prj.And Open File in Solution dialog can locate it.
Look:

BTW,I really think the Reply field can has a Attach func.The cpp file or sth can be upload and attach to the thread in-place.
feline Posted - Nov 09 2012 : 10:33:00 AM
If you show VA Outline is this macro shown in the outline for this file?
Is this macro inside a function, class, namespace or anything else?

Is this file part of your solution? If you close the file, is it listed in VA's Open File in Solution dialog?

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000