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.
-
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.