Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Suggesting preprocessor macros

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
tailsu Posted - Sep 05 2007 : 03:49:28 AM
VA has a nice feature that allows it to suggest defined preprocessor macros.

There is, however, another use case - some libraries use macros to tweak its behavior, e.g.
#ifdef BOOST_ENABLE_SOME_OBSCURE_FEATURE
...
#endif

Note that BOOST_ENABLE_SOME_OBSCURE_FEATURE is nowhere defined and is left by the library developer to the user to define.

I propose that VA looks for such preprocessor conditions and suggest them when the user starts writing a #define.
2   L A T E S T    R E P L I E S    (Newest First)
tailsu Posted - Sep 05 2007 : 11:31:52 AM
My specific case is an exception, though. However, what you said makes it lose its generality, so I rest my case :)
feline Posted - Sep 05 2007 : 08:43:32 AM
This is a very interesting idea.

I do wonder how helpful this would really be though, since in my experience people often add these define's to the IDE's project settings. Since this is an IDE dialog, it is not something VA interacts with.

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