Extended Outline - Custom Collapsable Regions (like C#) with Comments
Introduce Regions like #region in C# for collapsable sections. This regions should have a "name" or comment and should be displayed in document outline for navigation. This has lot of benefits in large sql code files for better orientation and navigation.
![](https://secure.gravatar.com/avatar/de9d3631d0341754bce0df65841b4056?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
James commented
I would like to see this as well, SSMS Boost implements the following:
--#region MyRegion
--#endregion MyRegion
which means the regions are ignored by everything else except the plugin.
The BEGIN, END block method is a bit of a hack and looks awful and is clunky to use and navigate through.
-
Fumbles commented
You can do this in SSMS with
BEGIN /* some comment here */
Your code here...
END;SSMS allows you to collapse the entire BEGIN..END block and also see the comment block.
-
Stephen Shook commented
I agree with this. Also the ability to have comments show in the outline as a member.