You must be registered to post a reply. Click here to register.
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: