如何根据我连接到的数据库更改 SQL Server Management Studio 的外观?
我想根据当前连接的数据库修改 SQL Server Management Studio 中查询窗口的外观。例如,对生产数据库使用黄色背景。有办法做到这一点吗?
还有一种方法可以更改底部查询状态栏的默认颜色(当未从“注册服务器”选项卡中选择服务器时)?当我不记得使用注册服务器时,我还想制作一种明亮而独特的颜色。
I'd like to modify the appearance of the query window in SQL Server Management Studio based on which database I'm currently connected to. For example, using a yellow background for production databases. Is there a way to do this?
Is there also a way to change the default color of the query status bar at the bottom (when a server is not selected from the Registered Servers tab)? I'd like to also make a bright and distinct color for when I don't remember to use the Registered Servers.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在 SQL Server Management Studio 2008 中,您可以对连接进行颜色编码,而无需任何加载项。在 SSMS 2008 中,转到“注册服务器”,然后右键单击服务器,然后单击“连接属性”选项卡,然后选择“使用自定义颜色”。
您可以尝试使用 SQL Server 2005 的加载项: SSMS 工具包 其中有
窗口连接着色
In SQL Server Management Studio 2008 you can color code your connection without any add-ins. In SSMS 2008, go To Registered Servers and then Right-Click a server then Connection Properties tab then Select "Use Custom Color"
you can try an add-in for SQL Server 2005: SSMS Tools Pack which has
Window Connection Coloring
在2012中你可以执行以下操作,一旦你完成了它就会记住,然后你就不需要使用注册服务器窗口了。
In 2012 you can do the following, once you have done it it will remember, then you don't need to use the registered server window.
您可以按照 KM 指示更改注册服务器颜色。
您还可以通过“工具”>“工具”将默认颜色设置为任何颜色。选项>文本编辑器>编辑器选项卡和状态栏>状态栏布局和颜色[单服务器连接]。这适用于 Sql Server Management Studio 2008。
You can change the Registered Server colour as KM indicated.
You can also set the default colour to be whatever via Tools > Options > Text Editor > Editor Tab and Status Bar > Status Bar layour and Colors [Single server Connections]. This applies to Sql Server Managment Studio 2008.