Ssms

如何更改 MSSQL Management Studio 主題?

  • July 17, 2017

不同於: 如何將主題應用於 SQL Server Management Studio 2008?

我想要的是更改編輯器的主題而不是配色方案。

我希望它在 2015 年看起來盡可能接近黑暗。

  1. 在 VS 2010 中安裝 2010 顏色主題編輯器。
  2. 找到文件 somehwere in C:\Users\xxxxx\AppData\Local\Microsoft\VisualStudio\xx.x\Extensions\.. 對我來說,它是\shvn3avp.com外掛的目前版本。
  3. 將這些文件複製到新文件夾:C:\Program Files (x86)\Microsoft SQL Server\xxx\Tools\Binn\ManagementStudio\Extensions\VSTheme
  4. extension.vsixmanifest內容替換為:
<?xml version="1.0" encoding="utf-8"?>
<Vsix xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="1.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2010">
<Identifier Id="46b3817c-b0c3-42d1-8cea-d373f781b21e">
 <Name>Visual Studio Color Theme Editor</Name>
 <Author>Microsoft</Author>
 <Version>1.3</Version>
 <Description xml:space="preserve">Allows users to customize the color palette used for menus, toolbars, tabs, title bars, and other environment colors.</Description>
 <Locale>1033</Locale>
 <Icon>ThemeManagerIcon.png</Icon>
 <PreviewImage>ThemeManagerPreview.png</PreviewImage>
 <InstalledByMsi>true</InstalledByMsi>
 <SupportedProducts>
   <IsolatedShell Version="1.0">ssms</IsolatedShell>
   <VisualStudio Version="10.0">
     <Edition>Ultimate</Edition>
     <Edition>Premium</Edition>
     <Edition>Pro</Edition>
     <Edition>IntegratedShell</Edition>
   </VisualStudio>
 </SupportedProducts>
 <SupportedFrameworkRuntimeEdition MinVersion="3.0" MaxVersion="6.0" />
 <SystemComponent>true</SystemComponent>
</Identifier>
<References />
<Content>
 <VsPackage>ThemeManagerPackage.pkgdef</VsPackage>
</Content>
  1. 導入此設置: http ://studiostyl.es/schemes/vs2012-dark-theme-for-vs2010
  2. 在擴展提供的主題菜單上打開的自定義顏色對話框中,導入他的主題

結果:

在此處輸入圖像描述

對於 2015 和 SQL Management Studio 17RC1

改為在 VS2015 上安裝擴展。請按照上述步驟操作。

我電腦上的文件夾是C:\Users\xxxxxx\AppData\Local\Microsoft\VisualStudio\14.0\Extensions\owbugenu.gif

xml是:

<!-- language: lang-xml -->
<?xml version="1.0" encoding="utf-8"?>
<Vsix xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="1.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2010">
 <Identifier Id="B8CED2B3-FF48-4204-88E9-036CA39B83C8">
   <Name>Visual Studio 2015 Color Theme Editor</Name>
   <Author>Microsoft</Author>
   <Version>2.0</Version>
   <Description xml:space="preserve">Allows users to create and edit Visual Studio themes.  Themes can customize colors used for menus, toolbars, tabs, titlebars, the text editor, and other environment colors.</Description>
   <Locale>1033</Locale>
   <InstalledByMsi>true</InstalledByMsi>
   <SupportedProducts>
     <IsolatedShell Version="1.0">ssms</IsolatedShell>
   </SupportedProducts>
   <SupportedFrameworkRuntimeEdition MinVersion="4.0" MaxVersion="4.0" />
   <SystemComponent>true</SystemComponent>
 </Identifier>
 <References />
 <Content>
   <VsPackage>ColorThemeEditor.pkgdef</VsPackage>
   <VsPackage>Colors\Red.pkgdef</VsPackage>
   <VsPackage>Colors\Purple.pkgdef</VsPackage>
   <VsPackage>Colors\Green.pkgdef</VsPackage>
   <VsPackage>Colors\Tan.pkgdef</VsPackage>
   <VsPackage>Colors\DarkWithLightEditor.pkgdef</VsPackage>
   <VsPackage>Colors\LightWithDarkEditor.pkgdef</VsPackage>
   <VsPackage>Colors\SolarizedDark.pkgdef</VsPackage>
   <VsPackage>Colors\SolarizedLight.pkgdef</VsPackage>
   <MefComponent>ColorThemeEditor.dll</MefComponent>  
   <VsPackage>Colors\ThemeNames.pkgdef</VsPackage>
   <VsPackage>PkgDefAssemblyCodeBase.pkgdef</VsPackage>
 </Content>
</Vsix>

在此處輸入圖像描述 在此處輸入圖像描述

引用自:https://dba.stackexchange.com/questions/112379