How to handle // ReSharper disable once XXXX
What is the correct way to handle the following being used to supress one of my custom highlightings? // ReSharper disable once ClassShouldBePublic I found the following code but it is more based on the 'global settings' and not a specific disable https://github.com/StyleCop/StyleCop/blob/master/Project/Src/AddIns/ReSharper/Violations/StyleCopHighlightingFactory.cs
Please sign in to leave a comment.
Yeah, don't look at the way StyleCop does things, it's a little idiosyncratic, and not really how it should be done. It's all about calling the right extension method (slightly annoying, it could be a little more discoverable/work by default). Check out this forum post for more details: https://devnet.jetbrains.com/message/5514300#5514300
Exactly what I needed...thanks.