Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 navigation between related #ifdef directives

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
Dusan Posted - May 15 2013 : 02:39:28 AM
It would be fine if VAX would provide navigation between related #ifdef directives:

For example:

#ifdef ANY_MACRO1
// some huge code
#elif defined ANY_MACRO2 && (ANY_MACRO2 == 1)
// some huge code
#elif defined ANY_MACRO2 && (ANY_MACRO2 == 2)
// some huge code
#elif defined ANY_MACRO2 && (ANY_MACRO2 == 3)
// some huge code
#endif

Now, lets say I right click on any one of these lines starting with #, VAX should show me dialog with list of all:

#ifdef ANY_MACRO1
#elif defined ANY_MACRO2 && (ANY_MACRO2 == 1)
#elif defined ANY_MACRO2 && (ANY_MACRO2 == 2)
#elif defined ANY_MACRO2 && (ANY_MACRO2 == 3)
#endif

I'll select one and VAX moves me there...
The same for regions and other multi-directives...

How about it???
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - May 15 2013 : 10:20:45 AM
However not exactly the same way you asked, but you should be able to navigate between these via pressing ctrl+]

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