Error highlighting not always working in text editor

Answered

I am currently using VS 2012 Premium with resharper Ultimate 2016.1.2 (latest version).

It seems as though my my strip on the side always shows all errors, buy my text editor only seems to display errors 25-50% of the time.  I have changed the error color from white background and red text to red background and white text due to being color blind and not being able to see the red text.  I dont know if that has anything to do with it.  Any thoughts?



4 comments
Comment actions Permalink
Official comment

Steven,

Thanks for the settings.

"ReSharper Error Highlighting" color is white, so a squiggle which underlines the second error on the screenshot is white on white background (since squiggles do not have background color). Please change "Foreground" for "ReSharper Error Highlighting" to any other color.

Thanks! 

Comment actions Permalink

Hello Steven,

Please export "Fonts&Colors" settings from Visual Studio - Tools | Options | Import and Export Settings | Export selected environment settings | Options | Environment | Fonts&Colors.

Thanks! 

0
Comment actions Permalink

Here is the contents of that export.

 

<UserSettings>
<ApplicationIdentity version="11.0"/>
<ToolsOptions>
<ToolsOptionsCategory name="Environment" RegisteredName="Environment"/>
</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="{34F54DB8-3D69-4D94-ABD5-BA1D717AB8BE}" FontName="Tahoma" FontSize="8" CharSet="0" FontIsDefault="No">
<Items/>
</Category>
<Category GUID="{75A05685-00A8-4DED-BAE5-E7A50BFA929A}" FontIsDefault="Yes">
<Items>
<Item Name="syntax error" Foreground="0x0100000C" Background="0x01000001" BoldFont="No"/>
<Item Name="ReSharper Unresolved Error Highlighting" Foreground="0x00FFFFFF" Background="0x000000FF" BoldFont="No"/>
<Item Name="ReSharper Error Highlighting" Foreground="0x00FFFFFF" Background="0x000000FF" BoldFont="No"/>
<Item Name="ReSharper Code Analysis Error Marker on Error Stripe" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
</Items>
</Category>
<Category GUID="{7A852B65-0948-485B-9978-D042CEBC1F15}" FontName="Tahoma" FontSize="8" CharSet="0" FontIsDefault="No">
<Items/>
</Category>
<Category GUID="{B36B0228-DBAD-4DB0-B9C7-2AD3E572010F}" FontName="Segoe UI" 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="0x006D6D6D" 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}" FontIsDefault="Yes">
<Items>
<Item Name="Error" Foreground="0x00FFFFFF" Background="0x000000FF" BoldFont="No"/>
</Items>
</Category>
</Categories>
</FontsAndColors>
</Category>
</Category>
</UserSettings>
0
Comment actions Permalink

That worked Alexander, thanks!

Do you know if its possible to change that type of error from a squiggly to actual highlighting?  I would prefer the foreground to be white and the background to be red with no squiggly.

I guess I dont really understand the difference between "ReSharper Unresolved Error Highlighting" and "ReSharper Error Highlighting".  If possible I would like them to both highlight the same way.

If its not possible, its not as big of a deal since I can not at least see the errors.

Thanks again Alexander! 

0

Please sign in to leave a comment.