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
 Wanted: option to hide endregion in VA Outline
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

goranw
New Member

Sweden
9 Posts

Posted - Sep 10 2008 :  03:39:11 AM  Show Profile  Reply with Quote
Hi! I would suggest adding an option to hide the endregion lines inside the VA Outline tree.

That would reduce the visual clutter even more and give a really good overview of the code. Unless you are actively editing the regions themselves, it suffices to have the indentation and folding in the tree indicate where regions end.

Best regards,
G+?ran Wallgren, Surgical Science, Sweden.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 10 2008 :  3:00:18 PM  Show Profile  Reply with Quote
VA Outline is always showing all basic elements of the source to allow you to reorganize it. If elements will be hidden then VA Outline will not know where to place dragged items or blocks.

So it sounds good at first sight, but it can break existing functionalities.

Edited by - accord on Sep 10 2008 3:08:21 PM
Go to Top of Page

goranw
New Member

Sweden
9 Posts

Posted - Sep 11 2008 :  03:05:07 AM  Show Profile  Reply with Quote
I see your point, but I think this is actually a special case:

Since the #endregion element will always be the last in its indentation level in the tree view, I suggest that it could be viewed as implicitly being there without explicitly displaying it.

The only drawback would be, I think, that if I place a dragged item below the last element inside the #region indentation level it would always be inserted below the #endregion in the actual code (and thus end up at one indentation level to the left in the tree).

This is only a problem if I wanted it to be dropped inside the #region, but I could easily fix that manually by dropping it above the last element in the region and then moving the last one up.

At any rate, a compact overview is actually more important to me than the dragging feature, since I mainly use the VA Outline window to get a clear overview of a source file. The wish for hiding the #endregion elements comes, of course, from having many small regions which I like to keep unfolded in the VA Outline.

If it is made optional to hide the #endregion elements then any associated drawbacks could be documented. You may find that some users appreciate the trade-off...

Best regards, G+?ran Wallgren
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 15 2008 :  5:06:03 PM  Show Profile  Reply with Quote
We are planning to implement an outline behavior definition file, so you will be able to control what to hide:

case=19673
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