问题
I used to work comfortably with the Dark theme of VS. Today, I updated my VS to v.15.2(26430.4)
, but it suddenly run into a visual problem.
The colours of the code in Dark mode are terrible. I almost cannot see them clearly.
Any way to fix it? Thanks
回答1:
I found some workarounds
- by unchecking the
Enable rich client visual experience
. And then restart VS.
- Another method is to choose color theme to
Light
and switch back toDark
again.
回答2:
They fixed problem and pushed another update today. Here's the release notes:
Release Date: May 12, 2017 - Visual Studio 2017 version 15.2 (26430.06) Issues Fixed in this Release This is the customer-reported issue addressed in this version:
The v15.2 dark color theme fails to load after F# component in .NET workload is installed.
https://www.visualstudio.com/en-us/news/releasenotes/vs2017-relnotes
回答3:
This happened to me (amongst others)
Restarting VS fixed it. (No options changes, just exit and start again.)
UPDATE: This is on the user feedback site and should be fixed by updating to 15.2 (26430.06) (published 12 May).
回答4:
I am a dev. on the Visual Studio team. There are currently two official workarounds:
- Uninstall the F# language support via the VS installer.
- Ctrl+Q and search for 'theme' and select 'Environment -> General' and then switch from one theme to another and press 'Ok', then, repeat and switch back.
NOTE: Workaround #2 is only temporary. Installing a new extension or update will revert the colors back to their current state.
回答5:
Restarting VS did not work for me.
I fixed it like this: In VS go to Tools -> Options -> Environment -> General -> Color theme
. Switched to Light
, clicked OK and then changed back to Dark
. After this everything looked normal.
来源:https://stackoverflow.com/questions/43914872/visual-studio-2017-code-color-issue-after-update