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
Feature Requests
Suggesting preprocessor macros
New Topic
Reply to Topic
Printer Friendly
Author
Topic
tailsu
Senior Member
37 Posts
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.
feline
Whole Tomato Software
United Kingdom
19021 Posts
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.
zen is the art of being at one with the two'ness
tailsu
Senior Member
37 Posts
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 :)
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Visual Assist
Technical Support
Feature Requests
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
© 2023 Whole Tomato Software, LLC
Snitz Forums 2000