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
 Highlighting/accessing variable declared by macro?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Deviant
New Member

Czech Republic
2 Posts

Posted - Jul 13 2010 :  7:00:03 PM  Show Profile  Reply with Quote
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

Edited by - feline on Jul 14 2010 09:01:58 AM

Deviant
New Member

Czech Republic
2 Posts

Posted - Jul 13 2010 :  7:02:56 PM  Show Profile  Reply with Quote
Oh shoot, sorry for bad forum section... can somebody move this topic to "General Release" subforum? Thank you.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jul 14 2010 :  1:55:44 PM  Show Profile  Reply with Quote
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)

Edited by - accord on Jul 14 2010 1:58:52 PM
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