11

In Resharper normal hints are able to be disabled by a comment via the

Disable once with comment

option on the context menu when you press <ctrl-enter>

With custom structural search patterns

http://blog.jetbrains.com/dotnet/2010/08/19/highlighting-custom-patterns-with-resharper/

I can't find a way to do this. There is no option on the context menu to disable the hint.

Is it possible to disable custom patterns with comments?

bradgonesurfing
  • 30,949
  • 17
  • 114
  • 217

1 Answers1

5

Just wanted to tell you, issue has been resolved.

You can add a suppression key now (when editing the pattern), which is used in the comment then.

https://blog.jetbrains.com/dotnet/2016/06/20/resharper-ultimate-2016-2-eap-build-4/

Matthias
  • 15,919
  • 5
  • 39
  • 84