Làm cách nào để thay đổi chủ đề MSSQL Management Studio?


Câu trả lời:


4
  1. Cài đặt Trình chỉnh sửa chủ đề màu 2010 trong VS 2010.
  2. Tìm các tập tin nào đó trong C:\Users\xxxxx\AppData\Local\Microsoft\VisualStudio\xx.x\Extensions\.. đối với tôi, đó là \shvn3avp.comphiên bản hiện tại của plugin.
  3. Sao chép các tệp đó vào một thư mục mới: C:\Program Files (x86)\Microsoft SQL Server\xxx\Tools\Binn\ManagementStudio\Extensions\VSTheme
  4. Thay thế extension.vsixmanifestnội dung bằng:

    <?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>
    

  5. Nhập cài đặt này: http://studiostyl.es/scheme/vs2012-dark-theme-for-vs2010

  6. Trên hộp thoại Tùy chỉnh màu mở trên menu Chủ đề được cung cấp bởi tiện ích mở rộng, nhập chủ đề của anh ấy

Kết quả:

nhập mô tả hình ảnh ở đây

Năm 2015 và SQL Management Studio 17RC1

Thay vào đó hãy cài đặt tiện ích mở rộng trên VS2015. Thực hiện theo các bước trên.

Thư mục trên máy tính của tôi là C:\Users\xxxxxx\AppData\Local\Microsoft\VisualStudio\14.0\Extensions\owbugenu.gif

Xml là:

<!-- 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>

nhập mô tả hình ảnh ở đây nhập mô tả hình ảnh ở đây


2

Đối với SSMS v17.0 mới nhất (hoặc 2016), bạn có thể bật sớm chủ đề Dark (rõ ràng là một công việc đang tiến hành?) Bằng cách chỉnh sửa tệp "C: \ Program Files (x86) \ Microsoft SQL Server \ 140 \ Tools \ Binn \ ManagementStudio \ ssms.pkgundef " (với tư cách là Quản trị viên) và nhận xét các dòng sau nhận xét" Xóa chủ đề tối "(khoảng dòng 241), sẽ trông giống như sau khi hoàn thành:

// 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]

thông qua https://community.spiceworks.com/how_to/136505-enable-dark-theme-in-sql-server-manloyment-studio-2016


Vấn đề với giải pháp này là sau khi nhấp chuột phải vào bảng script trong cửa sổ đối tượng thám hiểm, menu hoàn toàn không thể đọc được. Bạn đã vượt qua nó?
Przemyslaw Remin

@PrzemyslawRemin không, mặc dù tôi nghĩ rằng gần đây tôi đã cập nhật SSMS và dù sao nó cũng đã hoàn nguyên, vì vậy tôi đã từ bỏ
drzaus


1

Hoặc ... Chỉ cần nhập tệp .vssinstall này.

Có một bản tải xuống có sẵn, nhưng nó tải xuống dưới dạng .doc vì một số lý do. Bạn có thể nhập nó sau khi bạn thả phần mở rộng .doc.

https://mikedatawork.wordpress.com/2017/07/07/dark-ssms-theme-ssms-2017/

Dark SSMS Theme .vssinstall File


Chào bạn Cảm ơn đã thêm câu trả lời này. Tôi sẽ đoán rằng đây là trang web của bạn. Vui lòng đảm bảo tiết lộ liên kết của bạn khi đăng liên kết hoặc nội dung mà bạn đã tạo.
LowlyDBA

0

Với SSMS 2016, giờ đây nó chạy trên Visual Studio 2015 Integration Shell và bạn có thể làm điều tương tự trong Phần mở rộng Visual Studio 2015 của ColorTheme mà không thay đổi bất cứ điều gì trên tệp vsixmanifest.

Mặt hạn chế là có lỗi bật lên này nói rằng tiện ích mở rộng không tải được. chỉ cần nhấp vào "Không", có nghĩa là SSMS sẽ không còn hiển thị lỗi nữa.

Lỗi bật lên

Lúc đầu, ColorTheme sẽ không tải chính xác, nhưng sau khi khởi động lại SSMS, nó sẽ tải. EDIT: Tôi đoán sau khi khởi động lại SSMS, lỗi sẽ xuất hiện.

Khởi động lại SSMS tiết kiệm hàng ngày, mỗi ngày


Nó không hoàn hảo. Nó không được hỗ trợ. Tôi sẽ đăng phiên bản 2015
regisbsb
Khi sử dụng trang web của chúng tôi, bạn xác nhận rằng bạn đã đọc và hiểu Chính sách cookieChính sách bảo mật của chúng tôi.
Licensed under cc by-sa 3.0 with attribution required.