SQL Server Management Studio外观/外观/布局

时间:2013-04-19 14:53:37

标签: ssms

您可以为SSMS应用自定义皮肤/外观吗?我正在思考你在大多数IDE中找到的黑暗主题(黑色背景,黄色字体)的内容

5 个答案:

答案 0 :(得分:67)

我决定在 SSMS 2012

上尝试一些简单的事情
  1. 转到http://studiostyl.es/
  2. 选择一个主题并下载
  3. 请遵循这些screenshot instructions
  4. 请注意,这样做只会影响文本编辑器的主题,而不会影响工具栏,菜单,对象浏览器窗口等。

答案 1 :(得分:22)

SSMS 2012基于VS 2010 shell构建。因此,它可以使用兼容的“.vssettings”文件来应用自定义颜色方案。

另请参阅http://studiostyl.es/了解图库。

答案 2 :(得分:3)

如果您使用的是SSMS 2016(或更高版本),则可以在启用它后使用Microsoft自己的Dark主题。

您可以在Kyle Parrish的博客文章Enable "Dark" Theme in SQL Server Management Studio 2016

找到相关说明

答案 3 :(得分:0)

答案 4 :(得分:0)

对于SSMS 18:

已经有一个默认的深色主题,可以通过按键将其删除。 您需要转到以下文件,转到“删除深色主题”部分并注释掉该键。您将在设置中找到深色主题。 (菜单>选项>环境/常规-颜色主题)

C:\ Program Files(x86)\ Microsoft SQL Server Management Studio 18 \ Common7 \ IDE \ ssms.pkgundef

// Remove Dark theme
//[$RootKey$\Themes\{1ded0138-47ce-435e-84ef-9ec1f439b749}]

我在一个网站上也找到了一个不错的解决方案,该网站具有准备好的powershell语句来更改此内容:

powershell -Command "(gc 'C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\ssms.pkgundef') -replace '\[\`$RootKey\`$\\Themes\\{1ded0138-47ce-435e-84ef-9ec1f439b749}\]', '//[`$RootKey`$\Themes\{1ded0138-47ce-435e-84ef-9ec1f439b749}]' | Out-File 'C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\ssms.pkgundef'"

(来源:https://www.sqlshack.com/setting-up-the-dark-theme-in-sql-server-management-studio/