Sunday, August 6, 2006 12:00 AM InfinitiesLoop

Join the Dark Side of Visual Studio

Visual Studio is without a doubt a powerful tool. With every iteration, it continues to improve upon itself. But as you happily hack away at all your applications, you are blistfully unaware of it's evil dark side that has been there since the beginning. It's true.

There are those of us who embrace the dark side. But we are out numbered...

You see, the dark side isn't how it comes by default. No... it comes all happy and bright and cheery by default, and like good little jedi programmers you accept those defaults. But the dark side is there, hidden away deep within the environment settings, reaching out and corrupting those programmers who are corruptible. Why some are corruptible and some are not is a mystery that may never be solved, but each and every programmer must give pause and consider the benefits it provides.

The Dark Side

I know what you may be thinking. It's hard to read. Are you so sure about that? Lets compare it with the happy cheery default color scheme:

The Status Quo

The key difference of course is the pervasive black background color. This is the environment I and many others work in every day. For me, it started way back when I used a Borland C++ IDE that had preset environment color schemes. One was called Twilight, and it looked similar to this. Most people who see it for the first time are offended by it... but if you think about it, it really makes sense. It brings balance to the force.

The default scheme sports a bright white background color with dark text over it. But monitors these days are brighter than ever. You're presumably a programmer, so you've no doubt had those late but productive coding nights, nights that are lit by only the glow of your monitor. The glow is bright enough to light up the room and cast shadows. Not unlike... a light bulb.

A Light Bulb

So there you are, staring straight into a strong light source, looking for the few pixels on it which are not illuminated. Can you read the wattage and manufacturer letters on the head a light bulb while it's turned on? Ahhh... but what if the bulb were black, and only the letters on it were illuminated?

A Light Bulb 

This bulb has no markings, but you'd bet they'd show up nice and bright and easy to read in the right image. Another benefit someone pointed out to me once -- if you're on a laptop, it saves your battery life! Horray for an extra 20 minutes of mobile coding!

It seems to me the only reason a black-on-white background is so standard is because the GUI was invented to be an analogy to pen and paper. Paper is white. Your screen doesn't have to be. Don't conform to the status quo! Plus, it just looks really cool... I think.

Want to join the dark side? Download the settings here..

Visual Studio 2005
Visual Studio 2008

Just import them via the Tools->Import and Export Settings menu. Don't worry. If it doesn't suit you, just revert :)

As for VS2003, to enable exporting/importing styles in VS2003 you need an add-in. There happens to be one called VSStyler, which you can download here:

VSStyler Add-In for VS2003

Once you have the add-in, download the dark side style export here:

The Dark Side for VS2003

UPDATE 03/28/2008: Added new settings for Visual Studio 2008. I've improved on the scheme a little, and it now uses the Consolas font, too.

Happy (dark) coding!

Filed under: ,

Comments

# re: Join the Dark Side of Visual Studio

Monday, August 7, 2006 1:13 PM by InfinitiesLoop

Here's an interesting debate about the black background saving battery life claim. It doesn't seem to be true (as at least two of you have already pointed out to me), but they do admit to it being more readable!

http://www.macosxhints.com/article.php?story=20051202125641391

Something I would add to the argument -- with this color scheme I think you could get away with a dimmer backlight than you normally could, thus saving battery life for sure.

It would be interesting if someone could take some time and run some tests. See how your battery life compares with black/white backgrounds.

# re: Join the Dark Side of Visual Studio

Saturday, August 12, 2006 5:44 AM by TheRockHead

I tried your VS setting and really like it. It is easier on the eyes but there are a few problems. Like when i copy a some text from VS and paste the results into outlook , it copies the background as well which looks a bit strange in the mail. Still you have converted at least one person :)

# re: Join the Dark Side of Visual Studio

Monday, August 14, 2006 12:17 PM by InfinitiesLoop

TheRockHead -- yes I too have that problem when pasting code, so I just use the little smarttag that appears to tell it to "Keep Text Only". The formatting goes away entirely. Then I make it courier font. No syntax hilighting but at least it doesn't look messed up. Thanks for reading!

# re: Join the Dark Side of Visual Studio

Monday, August 14, 2006 6:37 PM by James

Nice. I started with BC++ too (and turbo pascal). The one small change I made is to change the font to BitStream Vera Sans Mono size 10. Just a little easier on the eye than Courier!

# re: Join the Dark Side of Visual Studio

Friday, August 18, 2006 10:41 AM by S1nF0ny

The Dark Side Force is too great.

# re: Join the Dark Side of Visual Studio

Tuesday, August 22, 2006 6:27 PM by InfinitiesLoop

If you have a color scheme you'd like to share, send it to me, and I'll link it here :)

# re: Join the Dark Side of Visual Studio

Friday, August 25, 2006 7:34 AM by Justin-Josef Angel [MVP]

I've used this theme for the last three days. It's evil. purly evil.

MY code productivity has gone from "mad super coder" to "person-who-can't-code-a-simple-MVC".

This theme is dangroues. beware :)

# re: Join the Dark Side of Visual Studio

Sunday, August 27, 2006 6:10 AM by Kerem

Try Microsoft's 'free for VS2005 users' font: Consolas

# re: Join the Dark Side of Visual Studio

Monday, August 28, 2006 12:08 PM by Zee

nice style, i thought it would be hard on th eyes but reading these colours on a dark background is easier on the eyes and looks nice

# re: Join the Dark Side of Visual Studio

Wednesday, August 30, 2006 6:31 PM by DFELKER

I imported the style and then decided that I didnt like it. It changed my output window to black BG and White foreground text. I cannot get it to revert to my original settings. Where do you edit the output window styles manually?

Thanks!

# re: Join the Dark Side of Visual Studio

Thursday, August 31, 2006 3:07 AM by InfinitiesLoop

If you are using VS2005, in the fonts & colors options section there's an item in the dropdown named "Output Window".  If you're using VS2003, I'm afraid I don't know from memory. I think it's lumped in with "tool windows" or something like that.

# re: Join the Dark Side of Visual Studio

Thursday, August 31, 2006 3:09 AM by InfinitiesLoop

Consolas is a nice font for development. But I discovered it's greatness after I created this style... I will update it, just haven't gotten around to it. Here's the download link for Consolas: http://www.microsoft.com/downloads/details.aspx?familyid=22e69ae4-7e40-4807-8a86-b3d36fab68d3&displaylang=en

# re: Join the Dark Side of Visual Studio

Thursday, August 31, 2006 5:15 PM by dfelker

Thanks. :)

# re: Join the Dark Side of Visual Studio

Thursday, September 7, 2006 12:25 PM by InfinitiesLoop

Behold -- Scott Hanselman has joined the dark side! Or at least, a variant of it...

http://www.hanselman.com/blog/ChangingYourColorsInVisualStudioNETBlackVersusWhite.aspx

# re: Join the Dark Side of Visual Studio

Monday, September 25, 2006 2:58 PM by InfinitiesLoop

bonna -- thanks for the comment on my layout. It's funny that in one day I get both a great compliment about it and also a great complaint. Every week or so someone either tells me they love or they hate it and will never return unless I fix it.

Proof you can't please them all.

# re: Join the Dark Side of Visual Studio

Wednesday, September 27, 2006 11:48 AM by bonna - warlock on Bloodscalp

The fact that the opinions are both negative and positive prove that your site is not mainstream.

It's better than no opinions at all.

I made a "black" site 2 once, to some it causes discomfort.

To me it's soothing.

# re: Join the Dark Side of Visual Studio

Thursday, September 28, 2006 11:06 AM by John Barton

I've joined the dark side.... its pure evil :)

Whacked on Consolos - and turned white text to "silver"...

not  that anyone actually cares what my settings are....

# re: Join the Dark Side of Visual Studio

Wednesday, November 15, 2006 7:47 AM by Xandax

Been using custom settings in VS2003 for ages and also a black background, feeling it much easier on the eyes when looking at it for 5-6-7-11 hours a day :)

With this tool I now can export and save my settings .... thanks

# re: Join the Dark Side of Visual Studio

Monday, November 20, 2006 9:27 AM by LH

Thanx, I have joined the dark side right just now :-) It's very nice scheme.

# re: Join the Dark Side of Visual Studio

Tuesday, November 28, 2006 10:40 PM by JP

I saw a screenshot of your IDE in another post and thought, "boy, I'd like to have a color scheme like that," but I was too lazy to manually change everything.  Now I see you've linked to a plug-in for it (still on 2003) *and* your styles.  Sweet!  Thanks!

# re: Join the Dark Side of Visual Studio

Tuesday, November 28, 2006 10:45 PM by JP

One more comment, anyone know of schemes for the old Borland styles?  I have a fond memory of a blueish background in Turbo Pascal.

# re: Join the Dark Side of Visual Studio

Tuesday, November 28, 2006 11:21 PM by InfinitiesLoop

Haha no problem JP. Just one thing... I think you may have to fix the XML settings. One of the two schemes (2003 or 2005) has it so all the tags are basically invisible.

# re: Join the Dark Side of Visual Studio

Tuesday, November 28, 2006 11:24 PM by InfinitiesLoop

FMM -- I'm not exactly sure what you are referring to. Do you have a screenshot you can link to somewhere? Or email it me... send me a comment via the email link above, I'll reply, and then you can reply and attach. Sorry, gotta keep the spammers at bay :)

# re: Join the Dark Side of Visual Studio

Wednesday, November 29, 2006 11:16 AM by FMM

AHA!  It's a VB-only thing; it doesn't occur in C#.  Try the following adaptation of Hello World, and set a breakpoint somewhere in the try block:

Sub Main()

       Try

           Console.WriteLine("Hello World!")

           Console.WriteLine("I can't see the below 'catch' block very well with the dark color scheme.")

       Catch ex As Exception

           ' This text is REALLY hard to see.

           Console.WriteLine("Exception occurred in Hello World?!")

       End Try

   End Sub

End Module

All of the text in the Catch block, as well as "Sub Main()", is highlighted in a pale gray.

# re: Join the Dark Side of Visual Studio

Saturday, December 2, 2006 7:08 PM by Michael Johnston

Thanks very much for this. I've opted to increase the font size back to 10 and take the background up to a 93% black instead of 100% out of personal taste :) :) but your style got me almost all the way there and certainly saved me a good bit of time. Many thanks again.

# re: Join the Dark Side of Visual Studio

Friday, May 18, 2007 10:53 AM by terry

Sure it's nice to have the black background in the interior of editor and other windows, but I would love to actually change the entire window border to a shade of dark gray. Unfortunately there doesn't seem to be a setting to handle it. Having a black background bordered by the gray/white default of VS is blinding. VS2005's window border color scheme isn't tied to Windows... does someone have a hack to change the light gray/white border colors to a nice dark scheme?

# re: Join the Dark Side of Visual Studio

Saturday, June 2, 2007 4:29 PM by Dave

I've joined the dark side!

# re: Join the Dark Side of Visual Studio

Wednesday, September 5, 2007 3:57 PM by Jason Hoekstra

Tungsten,

After having the desire to do the same and some poking around, I found that you can customize the Windows color scheme by:

Control Panel --> Display --> Appearance --> Advanced Button --> Item:  Window.  Change the default white to any color you'd like.

# re: Join the Dark Side of Visual Studio

Thursday, October 25, 2007 2:32 PM by Jon Sagara

Thank you for this.  I'm still adjusting to it, but I like the new color scheme.

# re: Join the Dark Side of Visual Studio

Sunday, January 13, 2008 9:52 PM by Edwin

Just joined the dark side too!!! Greetings to all darksiders!

# re: Join the Dark Side of Visual Studio

Wednesday, March 5, 2008 1:51 PM by Manish

The link for "VSStyler Add-In for VS2003" is no longer valid because MS Shutdown the GotDotNet site and now only has code.msdn.com

Is there a new link for it?

# re: Join the Dark Side of Visual Studio

Friday, March 28, 2008 10:55 AM by Ivan

Got a VS2008 version???

# re: Join the Dark Side of Visual Studio

Friday, March 28, 2008 2:02 PM by InfinitiesLoop

Ivan -- ask and you shall receive. I just updated the post with a link to 2008 settings, which I think are a little better than the original, too.

Thanks!

# re: Join the Dark Side of Visual Studio

Saturday, March 29, 2008 6:49 AM by Phill

Great theme, I use it all the time.

Just came to see if you had a 2008 version, which you do :D

Much <3!

# re: Join the Dark Side of Visual Studio

Monday, March 31, 2008 10:07 AM by Ivan

Awesome! THANKS!!

This is still the #1 style for Visual Studio!

# re: Join the Dark Side of Visual Studio

Monday, March 31, 2008 12:52 PM by Ivan

It seems that the VS2005 and VS2008 versions are slightly different in the color schemes.  VS2008 version has blues, the VS2005 version has reds (for xml markup).

# re: Join the Dark Side of Visual Studio

Wednesday, April 2, 2008 12:11 PM by Jon Sagara

Dave,

I really like the update for VS2008.  Thanks for sharing.

# re: Join the Dark Side of Visual Studio

Wednesday, April 9, 2008 6:02 AM by VikramAdith

I sure liked the theme, but found it hard to use because the solution explorer remains white. If we could somehow turn the whole of VS dark, that would be awesome!

Someone posted a Windows theme above, but I'd rather not change the rest of my Windows apps, as I like XP's cheesy Blue-Green-Red theme.

# re: Join the Dark Side of Visual Studio

Thursday, April 17, 2008 11:51 PM by Zendor

While reading this, I just had to chuckle. Since this web page is dark and the text is light.

# re: Join the Dark Side of Visual Studio

Friday, April 18, 2008 12:26 AM by InfinitiesLoop

Zendor -- thats the whole idea :)

# re: Join the Dark Side of Visual Studio

Wednesday, May 7, 2008 12:30 PM by Marianne

I am not a programmer so I cannot relate to the dark side work environment, however, your blog environment looks cool. However, it is a little hard to read for me. But the coolness outweighs how hard it is to read.

# re: Join the Dark Side of Visual Studio

Thursday, June 5, 2008 10:35 PM by Mark

Nice. Saved me some work doing it myself. Thanks.

# re: Join the Dark Side of Visual Studio

Saturday, June 7, 2008 12:56 AM by Jovette

Thanks, I really enjoy the color scheme!  It's pleasing to the eye.  Mant programmers have seen my screen and liked how it looked.  I have already recommended it to many friends!  THANKS!

# re: Join the Dark Side of Visual Studio

Thursday, June 12, 2008 8:42 PM by OnOffPT

Thanks mate. This is much easyer that test it manually.

I do not care about battery life. I care about my eyes because i only have 2 for the whole life.

# re: Join the Dark Side of Visual Studio

Monday, June 16, 2008 1:52 PM by Ivan

I've converted all my fellow devs to the dark side!!

Muhahahahhahaha!!!

# re: Join the Dark Side of Visual Studio

Wednesday, June 18, 2008 9:48 AM by DrFooMod2

OK, now how do you make the insertion cursor visible?  A black cursor against a black background is impossible to use.

# re: Join the Dark Side of Visual Studio

Wednesday, June 18, 2008 1:30 PM by InfinitiesLoop

DrFooMod2 -- not sure what the problem is, I dont have a black cursor. It's white.

# re: Join the Dark Side of Visual Studio

Thursday, July 3, 2008 3:26 PM by InfinitiesLoop

Brock -- yes I'm using Vista, but I've used the same scheme on XP too without problems. Not sure what the deal is but I'm glad you solved it nonetheless.

# re: Join the Dark Side of Visual Studio

Friday, July 4, 2008 6:53 AM by Enchantez

I like dark side of VS but i cannot download VSStyler. ><

# re: Join the Dark Side of Visual Studio

Thursday, August 7, 2008 4:58 PM by yuriylsh

I really love dark (black) background for the VS, but there is one downside for me - a mouse cursor is not shown when you work with black background using remote desktop. Other than that, I vote for the Dark Side!

# re: Join the Dark Side of Visual Studio

Friday, September 19, 2008 9:58 AM by Johan

Anybody got a black theme setting for SQL Management studio 2005 available for download?

Thx

# re: Join the Dark Side of Visual Studio

Thursday, October 2, 2008 8:04 PM by realcr

I joined the dark side too , and it's great.

The default color scheme is so ugly... assembly language looks much better on black background.

Great thanks for this scheme,

realcr.

# re: Join the Dark Side of Visual Studio

Thursday, November 6, 2008 3:22 AM by seb.49

Hello,

for a new company, I work on Visual Studio 2003... Yes it is !!!

I want to use the darkside style but I can't find VSStyler to import the settings.

Can you tell me where I can find this add-in.

Regards

sdelestre49-pub_AT_yahoo.fr

# re: Join the Dark Side of Visual Studio

Sunday, February 1, 2009 8:57 PM by kewur

har har.

I will soon be a dark lord.. :P

seriously, i'v been using this for my VS9 setup for like 3-4 months now. And its great! i wish there was a setting you prepared for codeblocks as well :D since im a lazy sith lord..

# re: Join the Dark Side of Visual Studio

Sunday, March 8, 2009 3:25 PM by Armaghan

I have been using this theme for a while with slight modification (changed fonts to Courier New)

I truly believe this is one of the best dark theme out there...  thank you

# re: Join the Dark Side of Visual Studio

Sunday, March 15, 2009 3:11 AM by andrei

the dark side scheme is great. much easier on the eye.

it works in visual c# express edition 2008.

Thanks for it.

# re: Join the Dark Side of Visual Studio

Sunday, July 12, 2009 10:27 PM by Meteoroz

I found your scheme after trying a number of others from Scott Hanselman's computerzen blog, and liked it the best. Thanks.

# re: Join the Dark Side of Visual Studio

Sunday, August 2, 2009 9:49 PM by Ventego

In truth, immediately i didn't understand the essence. But after re-reading all at once became clear.

# re: Join the Dark Side of Visual Studio

Monday, August 3, 2009 2:03 AM by Brown

Hmm... I read blogs on a similar topic, but i never visited your blog. I added it to favorites and i'll be your constant reader.

# re: Join the Dark Side of Visual Studio

Thursday, August 6, 2009 4:33 AM by Peter

Hmm... I read blogs on a similar topic, but i never visited your blog. I added it to favorites and i'll be your constant reader.

# re: Join the Dark Side of Visual Studio

Wednesday, August 12, 2009 4:18 PM by Vlad

With dark font I find it quite hard to concentrate on a particular part of the code, as well as focus on a larger part. My vision goes blurry... But the theme is nice.

# re: Join the Dark Side of Visual Studio

Saturday, August 15, 2009 4:00 PM by cATTO

Hey Now,

This is a great theme. Really enjoy it.

Thx,

Catto

# re: Join the Dark Side of Visual Studio

Sunday, August 23, 2009 7:57 AM by Ms.A

Your theme is great but it seems there was a problem importing it... after I imported it nothing happens and didn't take effect. I am using VS 2005 did I missed something?

# re: Join the Dark Side of Visual Studio

Saturday, August 29, 2009 11:33 AM by Guillaume

I really like it, I was looking for a great color scheme and there it is. I changed the font size to 12 ( because I have a really large monitor ) and changed the font to Consolas. I like the Lucida Console font also.

# re: Join the Dark Side of Visual Studio

Tuesday, September 8, 2009 3:59 PM by Justin Holbrook

After using this theme for a few weeks now I prefer it over the white background. The only change I have made is to set the Brace Matching (Rectangle) option to have an Item Background of blue. This makes it stand out against the black background when you're looking for a matching parenthesis or curly bracket, but doesn't drown out the symbol itself.

# re: Join the Dark Side of Visual Studio

Tuesday, October 6, 2009 3:03 AM by Roman

I wasn't  sure about switching to a black theme, but this one is awesome.

Thanks

# re: Join the Dark Side of Visual Studio

Tuesday, December 1, 2009 4:42 AM by James Su

for cursor, select a windows black mouse scheme in control panel.

# re: Join the Dark Side of Visual Studio

Tuesday, February 2, 2010 7:52 PM by InfinitiesLoop

Gomez -- VSStyler, no I'm afraid not :( Surely its out there on the interwebs somewhere. Anyone?

# re: Join the Dark Side of Visual Studio

Tuesday, February 16, 2010 12:17 PM by J

As John Barton may have been talking about, the default white text color is pure white. This is harsh on the eyes so try changing the Identifier color to a slightly more gray which should feel better against the dark background. In graphic design people are taught to carefully use pure white and only on rare occasions because it's difficult to look at - even if it's just a 1px stroke line. Just FYI since I thought that bit of knowledge has been useful (even though I'm a dev).

# re: Join the Dark Side of Visual Studio

Sunday, February 28, 2010 4:08 PM by Mike

I has joined da dark side.

No more headaches or bleeding eyes for me.

# re: Join the Dark Side of Visual Studio

Friday, April 23, 2010 6:20 AM by Daniel

now if only the rest of visual studio (menus, toolbars etc) can be turned to the dark side... xD

# re: Join the Dark Side of Visual Studio

Tuesday, April 27, 2010 2:33 PM by B Krishna

i want to make these changes in database design diagram also.

# re: Join the Dark Side of Visual Studio

Tuesday, April 27, 2010 2:42 PM by B Krishna

How do i make these changes in rest  of the visual studio

# re: Join the Dark Side of Visual Studio

Wednesday, September 15, 2010 9:35 AM by Fernyqc

I really like the theme except for one thing.  Which setting should be changed in order to keep the parenthesis and the braces when you're inside it's scope.  Them turn to dark and I find I annoying.

Regards,

# re: Join the Dark Side of Visual Studio

Friday, November 26, 2010 5:32 AM by Martin Peris

I see this is an old post, but man you saved my eyes!

I started developing with Visual Studio 2008 and the standard bright look was killing my cornea xD

Many thanks!