Whole Tomato Software Forums
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
 navigation between related #ifdef directives
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Dusan
Whole Tomato Software

Slovakia
177 Posts

Posted - May 15 2013 :  02:39:28 AM  Show Profile  Reply with Quote
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???

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 15 2013 :  10:20:45 AM  Show Profile  Reply with Quote
However not exactly the same way you asked, but you should be able to navigate between these via pressing ctrl+]
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000