Come cambiare il tema MSSQL Management Studio?


Risposte:


4
  1. Installa l'Editor temi colore 2010 in VS 2010.
  2. Trova i file da qualche parte in C:\Users\xxxxx\AppData\Local\Microsoft\VisualStudio\xx.x\Extensions\.. per me, era presente \shvn3avp.comper la versione corrente del plugin.
  3. Copia quei file in una nuova cartella: C:\Program Files (x86)\Microsoft SQL Server\xxx\Tools\Binn\ManagementStudio\Extensions\VSTheme
  4. Sostituisci i extension.vsixmanifestcontenuti con:

    <?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. Importa questa impostazione: http://studiostyl.es/schemes/vs2012-dark-theme-for-vs2010

  6. Nella finestra di dialogo Personalizza colore che si apre nel menu Tema fornito dall'estensione, importa il suo tema

Risultato:

inserisci qui la descrizione dell'immagine

Per il 2015 e SQL Management Studio 17RC1

Installa invece l'estensione su VS2015. Seguire i passaggi precedenti.

La cartella sul mio computer era C:\Users\xxxxxx\AppData\Local\Microsoft\VisualStudio\14.0\Extensions\owbugenu.gif

L'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>

inserisci qui la descrizione dell'immagine inserisci qui la descrizione dell'immagine


2

Per l'ultimo SSMS v17.0 (o 2016) puoi abilitare prematuramente il tema Dark (apparentemente un work in progress?) Modificando il file "C: \ Programmi (x86) \ Microsoft SQL Server \ 140 \ Tools \ Binn \ ManagementStudio \ ssms.pkgundef " (come Admin) e commentando le righe che seguono il commento" Rimuovi tema scuro "(circa la linea 241), dovrebbe avere un aspetto simile al seguente dopo aver terminato:

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

tramite https://community.spiceworks.com/how_to/136505-enable-dark-theme-in-sql-server-management-studio-2016


Il problema con questa soluzione è che dopo aver fatto clic con il tasto destro del mouse sulla tabella degli script nella finestra di Esplora oggetti il ​​menu è completamente illeggibile. Ce l'hai fatta?
Przemyslaw Remin,

@PrzemyslawRemin no, anche se penso di aver recentemente aggiornato SSMS e lo abbia ripristinato comunque, quindi ho rinunciato
drzaus,



0

Con SSMS 2016 ora funziona su Visual Studio 2015 Integrated Shell e puoi fare lo stesso con l'estensione Visual Studio 2015 di ColorTheme senza modificare nulla sul file vsixmanifest.

L'inconveniente è che c'è questo errore pop-up che afferma che l'estensione non è riuscita a caricare. fai semplicemente clic su "No", il che significa che SSMS non mostrerà più l'errore.

Errore popup

Inizialmente, ColorTheme non verrà caricato correttamente, ma dopo il riavvio di SSMS verrà caricato. EDIT: suppongo che dopo aver riavviato SSMS di nuovo l'errore si aprirà agian.

Il riavvio di SSMS salva il giorno, a giorni alterni


Non è perfetto Non è supportato
Pubblicherò
Utilizzando il nostro sito, riconosci di aver letto e compreso le nostre Informativa sui cookie e Informativa sulla privacy.
Licensed under cc by-sa 3.0 with attribution required.