42

您可以将自定义皮肤/外观应用到 SSMS 吗?我在想你会在大多数 IDE 中找到的深色主题(黑色背景,黄色字体)

4

5 回答 5

71

I decided to try something simple on SSMS 2012:

  1. Go to http://studiostyl.es/
  2. Pick a theme and download it
  3. Follow these screenshot instructions

Note that doing this will only affect the theme of the text editor, not the toolbar, menu, object explorer window, etc.

于 2015-04-04T01:52:31.023 回答
26

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

另请参阅http://studiostyl.es/了解画廊。

于 2013-10-17T00:14:59.660 回答
3

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

您可以在 Kyle Parrish 的题为在 SQL Server Management Studio 2016 中启用“深色”主题的博文中找到说明

于 2017-08-09T20:17:19.757 回答
0

这是我的深色主题,您可以下载:

https://stingrae.com.au/dark-theme-for-microsoft-sql-management-studio.aspx

于 2018-03-22T06:52:54.840 回答
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/ )

于 2020-11-20T07:16:16.160 回答