Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Highlighting/accessing variable declared by macro?

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
Deviant Posted - Jul 13 2010 : 7:00:03 PM
Greetings,

I found out that VAX do not highlight variables that were declared by macro, and even worse, it do not show a list box with methods if that variable is struct/class.

I consider that as bug, since VS 2008 shows that list box even variable is declared by macro.

Example:


#define VARMACRO MyClass xyz 

main(...)
{
 VARMACRO; // declare variable via macro

 xyz.member; // xyz is not highlighted plus list box do not show after pressing period key (".").
 
}


PS: Sorry for bad English grammar ;)

moved by feline
2   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Jul 14 2010 : 1:55:44 PM
I am seeing the same effect here. Thank you for the clear description:

case=7216

For now you can turn on this options:

VA Options -> Advanced -> Listboxes -> Get content from default Intellisense

Placing your macro into VA's stdafx.h should also help:
http://docs.wholetomato.com?W302

However, the latter is not always a viable option (depending on the usage of the macros in your project)
Deviant Posted - Jul 13 2010 : 7:02:56 PM
Oh shoot, sorry for bad forum section... can somebody move this topic to "General Release" subforum? Thank you.

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