Can I define # areas in t-sql visual studio 2012 editor?

I would like to know if there is an extension that allows me to define areas inside the visual studio 2012 editor when editing custom functions or simple t-sql queries.

I tried the following, but it doesn't seem to be that much:

-- #region This is a region with t-sql code ... -- #endregion 
+6
source share
1 answer

SQL Visualizer allows you to use code regions. Using this, you can start a region with --REGION and end it again with -- END REGION .

There is also an SSMS dashboard .

Alternatively, you can wrap specific blocks using the BEGIN and END operators:

http://msdn.microsoft.com/en-us/library/cc281835.aspx

+4
source

All Articles