VS 2012默认的深色主题字体与颜色不太舒服,如果你也觉得不舒服可以试试我的修改(主要是对Asp.net MVC Razor开发时的修改):
复制下面的xml保存为"vs2012深色字体颜色设置.vssettings"文件,用vs2012中的导入与导出设置对话框导入即可。
<UserSettings> <ApplicationIdentity version="11.0"/> <ToolsOptions> <ToolsOptionsCategory name="Environment" RegisteredName="Environment"> <ToolsOptionsSubCategory name="General" RegisteredName="General" PackageName="Visual Studio Environment Package"> <PropertyValue name="AnimationSpeed">5</PropertyValue> <PropertyValue name="RichClientExperienceOptions">65535</PropertyValue> <PropertyValue name="WindowMenuContainsNItems">10</PropertyValue> <PropertyValue name="CloseButtonActiveTabOnly">true</PropertyValue> <PropertyValue name="AutoAdjustExperience">false</PropertyValue> <PropertyValue name="Animations">true</PropertyValue> <PropertyValue name="AutohidePinActiveTabOnly">false</PropertyValue> <PropertyValue name="ShowStatusBar">true</PropertyValue> <PropertyValue name="MRUListContainsNItems">10</PropertyValue> </ToolsOptionsSubCategory> </ToolsOptionsCategory> </ToolsOptions> <Category name="Environment_Group" RegisteredName="Environment_Group"> <Category name="Environment_FontsAndColors" Category="{1EDA5DD4-927A-43a7-810E-7FD247D0DA1D}" Package="{DA9FB551-C724-11d0-AE1F-00A0C90FFFC3}" RegisteredName="Environment_FontsAndColors" PackageName="Visual Studio Environment Package"> <PropertyValue name="Version">2</PropertyValue> <FontsAndColors Version="2.0"> <Categories> <Category GUID="{58E96763-1D3B-4E05-B6BA-FF7115FD0B7B}" FontName="新宋体" FontSize="11" CharSet="1" FontIsDefault="No"> <Items> <Item Name="Plain Text" Foreground="0x00DCDCDC" Background="0x000F0F0F" BoldFont="No"/> </Items> </Category> <Category GUID="{75A05685-00A8-4DED-BAE5-E7A50BFA929A}" FontName="新宋体" FontSize="11" CharSet="1" FontIsDefault="No"> <Items> <Item Name="Identifier" Foreground="0x0092C9C9" Background="0x02000000" BoldFont="No"/> <Item Name="Keyword" Foreground="0x00E8A73C" Background="0x02000000" BoldFont="Yes"/> <Item Name="Operator" Foreground="0x00ACFFAC" Background="0x02000000" BoldFont="No"/> <Item Name="Literal" Foreground="0x00FFFFFF" Background="0x02000000" BoldFont="No"/> <Item Name="Number" Foreground="0x0051FF51" Background="0x02000000" BoldFont="No"/> <Item Name="compiler error" Foreground="0x000000FF" Background="0x01000001" BoldFont="No"/> <Item Name="HTML Element Name" Foreground="0x00FFFF00" Background="0x02000000" BoldFont="No"/> <Item Name="HTML Server-Side Script" Foreground="0x00000080" Background="0x0000FFFF" BoldFont="No"/> </Items> </Category> <Category GUID="{B36B0228-DBAD-4DB0-B9C7-2AD3E572010F}" FontName="微软雅黑" FontSize="9" CharSet="1" FontIsDefault="No"> <Items> <Item Name="Different content" Foreground="0x000014E5" Background="0x00FFFFFF" BoldFont="No"/> <Item Name="Identical content" Foreground="0x00000000" Background="0x00FFFFFF" BoldFont="No"/> <Item Name="Source Only" Foreground="0x00000000" Background="0x00FFFFFF" BoldFont="No"/> <Item Name="Target Only" Foreground="0x00000000" Background="0x00FFFFFF" BoldFont="No"/> <Item Name="Not Downloaded" Foreground="0x00999999" Background="0x00FFFFFF" BoldFont="No"/> <Item Name="Even Row Items" Foreground="0x00000000" Background="0x00FFFFFF" BoldFont="No"/> <Item Name="Odd Row Items" Foreground="0x00000000" Background="0x00FFFFFF" BoldFont="No"/> </Items> </Category> <Category GUID="{E0187991-B458-4F7E-8CA9-42C9A573B56C}" FontName="新宋体" FontSize="11" CharSet="1" FontIsDefault="No"> <Items> <Item Name="Keyword" Foreground="0x00E8A73C" Background="0x02000000" BoldFont="Yes"/> <Item Name="Identifier" Foreground="0x0092C9C9" Background="0x02000000" BoldFont="No"/> <Item Name="Number" Foreground="0x0051FF51" Background="0x02000000" BoldFont="No"/> <Item Name="Operator" Foreground="0x00ACFFAC" Background="0x02000000" BoldFont="No"/> <Item Name="Text" Foreground="0x00DADADA" Background="0x02000000" BoldFont="Yes"/> </Items> </Category> <Category GUID="{FF349800-EA43-46C1-8C98-878E78F46501}" FontName="新宋体" FontSize="11" CharSet="1" FontIsDefault="No"> <Items> <Item Name="compiler error" Foreground="0x000000FF" Background="0x01000018" BoldFont="No"/> </Items> </Category> </Categories> </FontsAndColors> </Category> </Category> </UserSettings>