Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Idea: Expand Macros (C/C++)

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
peterchen Posted - Jul 06 2011 : 4:30:32 PM
While the preprocessor is looked down upon a lot, it's still used widely. It would be valuable for debugging and diagnosis to be able to expand macros.

Visual Studio offers to run only the preprocessor, but that's very unwieldy to work withif you have to deal with a macro-infested code base. (Since you seem to understand macros just fine, I see no technical obstacles. That's the main reason why I'm asking you guys ;))

The way I envision it is that I just select a section of code, hit a magic VAX shortcut, and the text is expanded and remains selected.

We'd need some control over the level of expansion, maybe expanding one level per "expand macro" command. Multiple calls would expand deeper, and ctrl+Z would take me back.

Just an idea i am at the very moment excited about...
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Jul 07 2011 : 1:00:49 PM
We are considering adding a refactoring command for this, at some point:

case=5160

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