SSMS 2016中更改為深色主題的方法
對應18版本的檔案位置在2020.3.26更新:
C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\ssms.pkgundef
找到:// Remove Dark theme
注釋掉這一行,然後重新開機ssms進入設定主題就可以選擇深色了:
[$RootKey$\Themes\{1ded0138-47ce-435e-84ef-9ec1f439b749}]
=======================================
對應最新版的ssms2017設定方法進行補充:
使用NotePad等編輯工具打開檔案:C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\SSMS.pkgundef
找到:// Remove Dark theme
注釋掉這一行,然後重新開機ssms進入設定主題就可以選擇深色了:
//[ R o o t K e y RootKey RootKey\Themes{1ded0138-47ce-435e-84ef-9ec1f439b749}]
![](https://img.laitimes.com/img/__Qf2AjLwojIjJCLyojI0JCLiAzNfRHLGZkRGZkRfJ3bs92YsYTMfVmepNHL5tGVOdXWU1EMNpHW4Z0MMBjVtJWd0ckW65UbM5WOHJWa5kHT20ESjBjUIF2X0hXZ0xCMx81dvRWYoNHLrdEZwZ1Rh5WNXp1bwNjW1ZUba9VZwlHdssmch1mclRXY39CXldWYtlWPzNXZj9mcw1ycz9WL49zZuBnL1kjM2EDOwUTM3IzMwEjMwIzLc52YucWbp5GZzNmLn9Gbi1yZtl2Lc9CX6MHc0RHaiojIsJye.png)
以上是2018.10.26新增内容
===========================================
使用Notepad等編輯工具編輯檔案
c:\program files (x86)\Microsoft SQL Server\130\tools\binn\managementstudio and open the SSMS.pkgundef
将Remove Dark theme部分注釋掉,然後在工具–選項–正常中選擇深色主題即可;
// Remove Dark theme
//[$RootKey$\Themes\{1ded0138-47ce-435e-84ef-9ec1f439b749}]
//[$RootKey$\AD7Metrics\PortSupplier\{4103F338-2255-40C0-ACF5-7380E2BEA13D}]
//[$RootKey$\External Tools\Error Loo&kup]
//[$RootKey$\LightSwitch]
//[$RootKey$\Debugger\LaunchHooks110]
//[$RootKey$\DiagnosticsHub]
//[$RootKey$\FeatureFlags]
//[$RootKey$\VB Editor]
//[$RootKey$\Languages\CodeExpansions\C/C++]
//[$RootKey$\Languages\CodeExpansions\JavaScript]
//[$RootKey$\Text Editor\C/C++]
//[$RootKey$\Text Editor\CSharp]
//[$RootKey$\Text Editor\Disassembly]
//[$RootKey$\Text Editor\ENC]
//[$RootKey$\Text Editor\JavaScript]
//[$RootKey$\Text Editor\Memory]
//[$RootKey$\Text Editor\Register]
//[$RootKey$\Text Editor\ResJSON]
//[$RootKey$\Text Editor\TypeScript]
//[$RootKey$\Text Editor\VBScript]