Disable Class 'X' Could Be Confused With 'Y' Warning
My Setup:
ReSharper 9
Visual Studio 2013
MVC/Web Forms Hybrid Project
C#
In my MVC (.cshtml) pages, I get a lot of bogus warnings such as, "Class 'table' could be confused with 'tabLe'. This message is complete garbage and distracting. How can I turn this off?
Please sign in to leave a comment.
Hello
Could you please send me a code sample which will demonstrate such warning?
Thanks!
I figured a temporary solution. I had a style that was declared in another aspx file and ReSharper picked up this style name e.g the class was named "tabLe" and the bootstrap has a class named "table". I renamed the class in the aspx file and the warnings went away. It's still annoying and I'd like to have them disabled, but this will have to do for now.
Hello,
So this warning does not have an option to change its severity to dont-show
in the Alt-Enter menu on it?
—
Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”
Please try R# 9.1 EAP https://confluence.jetbrains.com/display/ReSharper/ReSharper+9.1+EAP. We removed such warning there.
Thanks!