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 bar and multiple Regions
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Nov 27 2019 :  06:39:23 AM  Show Profile  Reply with Quote
In auto-generated files like LinqToSQL classes, one can have many classes and each class has a region with the same name. Thus the navigation bar looks like this:




Would be very helpful to see a
#region whatevername (class XYZ)
in the navbar when multiple same name regions are present.

Not high importance, but useful

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Nov 28 2019 :  07:04:50 AM  Show Profile  Reply with Quote
With the Alt-M list open, have you tried right clicking, and turning Off

Include regions

this will remove the region lines from the outline, so in their place the the items inside the outline will instead be shown, which is exactly what you are looking for here.

zen is the art of being at one with the two'ness
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Nov 28 2019 :  07:54:53 AM  Show Profile  Reply with Quote
I see, well, actually what (somehow) does what I was looking for is turning off "Sort alphabetically" then the regions appear in order as they are in the file. Still one has to look at the surrounding items to figure out where it belongs to.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Nov 29 2019 :  06:32:14 AM  Show Profile  Reply with Quote
If you don't use the regions in your code for navigation then hiding them from the Alt-M list may be easier.

Here VA is correctly reporting the name of the region. As soon as we start wanting to tell you what is inside the region it gets more messy, since what is the definition of what is inside the region? It can be a block of #include statements, a for loop, several classes, just lots of comments...

zen is the art of being at one with the two'ness
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