Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Using macro for class and "alt+m"

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
__Daniel__ Posted - Jul 30 2013 : 01:01:47 AM
Hello.
I use simple marcos:

#define CPP_INTERFACE( Name ) class Name \{					 \protected:				 \	virtual ~Name() {};		 \public:

#define  CPP_INTERFACE_1( Name, Interface1 ) class Name : public Interface1	\{										\protected:									\	virtual ~Name() {};							\public:

then in header:

CPP_INTERFACE_1( IName, IOther )
	virutal void Foo() = 0;
};


For this header "alt+m" doesn't work as for 'pure' code without macro, the same problem in VS Outline
It is possible to enable parsing macro in special register key or... i don't know?
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 31 2013 : 1:39:56 PM
This is on our list of bugs to fix, but unfortunately I don't currently have an estimate for when this be fixed.
__Daniel__ Posted - Jul 30 2013 : 12:40:48 PM
I use it anywhere where i can, i like it... ech
feline Posted - Jul 30 2013 : 11:24:54 AM
Unfortunately no. There are settings to help with macro parsing problems, but they are not helping here. VA still has some problems when using a macro to declare a class name, as you are seeing:

case=9589

if we were able to change the macros we should be able to work around this, but it might be simpler to remove these two problem macros from your code. It depends on how often you use them, and how many problems this is causing.

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