I am using a custom color scheme in Visual Studio (black background, gray text, etc.). However, there are several settings that refuse to change. For example, when reading the markup for an aspx page, the current tag has black text by default, which works poorly on my black background. Earlier, I changed the corresponding setting to “visible” color. In fact, to fix this, I just need to open the "Options" window, check and uncheck "Bold" on "Plain text" and click "OK", and now all my selected settings are loaded correctly. However, if I open a new session, I must repeat these steps again. There are only a few settings where I notice this behavior (a read-only region is another), but it annoys the need to change the dummy option,to make them hit. Has anyone seen this behavior before and does someone have a fix / workaround?
UPDATE: found an interesting fix. I still don't know what the reason is (maybe some corruption like @sliderhouserules Suggestessts), but I have a faster way to fix it than using Tools | Options | Fonts and colors. I simply exported the current color settings and created a macro to load them:
Public Sub ImportColors()
DTE.ExecuteCommand("Tools.ImportandExportSettings", "-import:""C:\Documents and Settings\gregf\My Documents\Visual Studio 2008\Settings\FontsAnColors_Exported-2008-12-05.vssettings""")
End Sub
Then I displayed this macro on a button on my toolbar. Now I have one click fix when colors change. Not perfect, but much less painful.
source
share