Formatting Style warnings during Code Inspection
I want ReSharper to highlight formatting violations. For example, I don't want more than one consecutive blank lines in my code, so if I have three blank lines, I want ReSharper to highlight those lines as warnings (or suggestions or whatever).
Is there an option for that?
Thanks,
Eric
Please sign in to leave a comment.
Hello Eric,
ReSharper doesn't highlight formatting violations out-of-the-box. You can
try StyleCop for ReSharper plug-in: http://stylecopforresharper.codeplex.com/.
Thank you!
Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
From the description I had read of StyleCop for Resharper I thought it just run StyleCop as you were typing, I didn't realize it added in visual cues.
Thanks,
Eric
Is this still not supported for R# 2016.3?
Hello Lisa,
You may install "StyleCop by JetBrains" plugin via ReSharper | Extension Manager and check it.
Thanks!