2008-07-22

Vertical guides in SQL Server Management Studio (SSMS)


A well known registry key would add vertical guides to the code view in all versions of Visual Studio IDE.
I got curious if the same trick can be applied to the Query Editor in SQL Server 2005 Management Studio. Apparently, it can be done and here's the «secret» registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server\90\Tools\Shell\Text Editor] "Guides"="RGB(220,220,220) 8, 16, 24, 60, 80"
This will add my favorite kind of guides. You can adjust color and position of the guides as it suites your.

As usual, be ware, you are making changes to your registry!

No comments: