r/SQLServer • • Jan 31 '17

SSMS 2016 Dark Theme

Post image
65 Upvotes

21 comments sorted by

12

u/croix153 Jan 31 '17 edited Jan 31 '17

the dark theme is built into SSMS 2016, but disabled as it is not yet finished.

If you open up c: \ program files (x86) \ Microsoft SQL Server \ 130 \ tools \ binn \ managementstudio\SSMS.pkgundef in a text editor and comment out the following lines, it will magically appear.

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

credit to https://leka.com.br/2016/11/22/habilitar-o-dark-theme-no-ssms-2016/

1

u/Arkiteck Feb 26 '17 edited Feb 26 '17

It works but any idea how would I switch to this theme for all users on a server? Can't seem to find the proper HKCU registry location.

Edit: Doesn't seem very easy. I registry shotted before and after making the Theme change. It adds a line of stuff to "HKU:\user account SID\etc..\etc..\etc.."

8

u/kishvier Jan 31 '17

It's everything I've ever wanted!

6

u/croix153 Jan 31 '17

me too! I've been waiting years for this.

5

u/kishvier Jan 31 '17

I am way happier than I should be, right now.

2

u/nodules_d Jan 31 '17

Sadly, so am I. Need that dark theme badly!

2

u/maz0r Jan 31 '17

It's about bloody time :)

5

u/Fabian0510 Jan 31 '17

Yes, last time I did this (about 2 weeks ago) it didn't affect the object explorer or the results grid, they remained white. Simple ghastly. What version of SSMS are you running?

3

u/croix153 Jan 31 '17

it still does not affect Object explorer or results/messages window. Right click menus are also hard to read.

Definitely unfinished, but it is a huge improvement for me, especially if I'm spending a lot of time just looking at code...I can just hide the object explorer.

1

u/SQLvariant Feb 01 '17

Ooh, good point. That reminds me that I could just do View > Full Screen (Shift + Alt + Enter) to be able hide Object Explorer.

1

u/Fabian0510 Feb 01 '17

Still, the results grid though. That really ruins it for me. I will be disproportionately excited when they finally release a dark mode!

1

u/[deleted] Jan 31 '17

Same here... changed it in options too... same thing...

4

u/ninjaroach Jan 31 '17

LOL at those object names.

3

u/zibeb Feb 01 '17

I've actually switched over to writing SQL code in VS2015 so that I can work with a dark theme.

I'd love to have SQLPrompt's tab coloring back though. That's one of the things I miss on VS15.

2

u/Ek_Los_Die_Hier Jan 31 '17

Thank you so much!!! Brilliant!

2

u/felixwraith Feb 01 '17

This is also available in SSMS 2014. Except Object Explorer and Query Editor are still white windows.

2

u/[deleted] Feb 03 '17

it's beautiful

2

u/jitbitter Jun 11 '17

Is there a way to make "object explorer" dark too?

3

u/[deleted] Jan 31 '17

Nice... I'm so used to the dark theme from DataGrip that every time I have to open SSMS I need to shield my eyes until they adjust. I'm exaggerating of course, but only a little...

0

u/[deleted] Jul 12 '17

[deleted]

1

u/technojockey Jul 17 '17

finally something that works. many thanks my friend. :)