简体   繁体   中英

Visual Studio 2015 Dark Theme suddenly makes code disappear

Was wondering if anyone is familiar with this issue...

I'm using VS 2015 Community in a VMWare virtual machine (Win10) with some C# solution and today all of a sudden most the code disappears, except for a few variable names. Strangely enough this only happens on the Dark theme, not on the white or blue theme.

Switching between themes, closing/reopening solution, etc. didn't help. This never happened before and I've been using VS2015 in the VM for weeks without problems. Does anyone know of a fix for this?

Ok, I found the problem! The text scaling was somehow accidentally switched to 110% and the font I'm using obviously is not OK with this. Switching back to 100% fixed it. What's odd though is that it works even with scaled text on white/blue theme with same font.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM