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:
640 x 480
800 x 600
1024 x 768
1280 x 1024
UserName:
Password:
Format:
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
1
2
3
4
5
6
Color
Black
Blue
Brown
Green
Red
Violet
Yellow
Message:
Forum code
is on.
Html is off.
[quote][i]Originally posted by Dusan[/i] [br]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??? [/quote]
Check to include your profile signature.
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
Snitz Forums 2000