Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Wanted: option to hide endregion in VA Outline

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
goranw Posted - Sep 10 2008 : 03:39:11 AM
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.
3   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Sep 15 2008 : 5:06:03 PM
We are planning to implement an outline behavior definition file, so you will be able to control what to hide:

case=19673
goranw Posted - Sep 11 2008 : 03:05:07 AM
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
accord Posted - Sep 10 2008 : 3:00:18 PM
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.

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