Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 custom keywords

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
zedd Posted - Nov 09 2010 : 7:07:01 PM
Hi,

I am using a library which has custom keywords like "gom_class" instead of a "class" keyword. This screws up the parser for Visual Assist X. Can I add custom keyword like this one and make it look like just "class" for VA ?

Thanks !
Zedd

2   L A T E S T    R E P L I E S    (Newest First)
zedd Posted - Nov 14 2010 : 9:10:24 PM
Thanks. That does fix it for now :) I would love to see custom keyword support in future builds ! :)

Cheers,
Z
accord Posted - Nov 10 2010 : 1:01:49 PM
Unfortunately there is no good solution for this, however, we are considering a solution to be able to define special "keywords" to substitute the class keyword:

case=9589

For now, you can use this (little ugly) workaround:
#ifndef VA_DOES_NOT_UNDERSTAND_THIS
gom_class
#else
class 
#endif
cClassName : public cBaseClassName
{
	int Apple;
};

It's ugly since require you to modify the actual code, but it works both with VA and the compiler.

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