Visual Studio 2017 Dark Theme not working correctly

Since today my Visual Studio looks like that. The theme is still set to dark and I did Reset all settings.

Any Ideas why this looks like that or how I can change it back to the correct dark theme?

I wouldn’t call this is a ‘Code/Scripting’ issue.

Heck, I wouldn’t even call it a Unity issue.

Visual Studio has theme editing capabilities, the backend of which is actually really convoluted. There are .vsix extensions you can download to customize it very specifically.

I’m willing to bet somehow the configuration for darktheme got mangled in the registry in some way. There’s many ways it can happen… messing around in the settings, having multiple versions of VS installed, etc.

I’d do a full uninstall, including purging the registry of all entries of Visual Studio 15.0 related stuff (that’s 2017)… and if you have any other visual studio remenants laying around (14.0, earlier) get rid of that stuff as well. And do a whole new clean install.

Otherwise… install the theme editor plugin and edit away.

2 Likes

Or go get Rider (seriously it’s pretty great)

1 Like

Rider doesn’t appear to be free. At least VS is. :slight_smile:

For OP, yeah, that is odd. Maybe switch to another theme and switch back and see if that fixes it. But otherwise, try reinstalling it. Nice thing with VS 2017 is you can just install what you need for Unity if you wanted.

Rider is free - at least for now while it’s in early access

I must be looking at the wrong site then. https://www.jetbrains.com/rider/ Shows a free trial and paid plans only.

I downloaded it last week

Indeed - looks like it went to release last week. In either case - still great!

Wasn’t the question about how to get VS’s dark theme to work correctly, and not how to promote other IDEs? :stuck_out_tongue:

As @lordofduct pointed out, this isn’t a Unity issue, so try to reach out to Visual Studio on Twitter or via their forums.

However, I think I know what your issue could be: Go to Tools > Options > Fonts and Colors > (under Display Items) Plain Text. Change the “Item Background” color, then hit OK. The changes will NOT show without clicking OK (because it’s Microsoft and they think we don’t need an Apply button anymore). I was able to get the same look with that setting IN dark mode:

Also you can click “Use Defaults” to reset the colors back to default, which look OK.

As for Rider, I think that unless they have some amazing features that VS doesn’t have, it’s going to be a tough sell. It’s free for 30 days, then $350 for 1st year, $280 for 2nd year and $210 onwards, while VS Community is free forever. For most people, that’s a lot of money that could be saved by simply using Visual Studio. But that’s just my 2 cents; and I’ve never used Rider.

That’s a business/org license. Individual is 139/111/83. And it’s free for students, teachers, and open source projects and 50% off if your business has existed for less than 3 years.

But yeah - a lot of it is personal preference. I like the way Rider does certain things over Visual Studio (and I used Visual Studio for years). And I use IntelliJ regularly so I’m used to “the JetBrains way”. Just for example - my folder structure doesn’t match my namespace structure. Rider is smart enough to look at the namespaces of other classes in the same folder and determine what namespace to put my new class in. It’s a little thing but recently I redid our entire UI so I was making a bunch of small components to plug into UI elements to give them functionality. Not having to delete the auto-generated namespace to put my own in there saved me a ton of hassle.