Code block highlighting (opposite greying)

Is there some mechanism where I can mark certain piece of code to appear greyed out so that it does NOT grab attention.

For example, in unit test I want to greyed out code which is setup. Another one is I want logging code to be greyed out.

Is there some Resharper / Visual Studio code block syntact to achieve this?

1 comment
Comment actions Permalink

Hello Bhavesh
     There's no such functionality in ReSharper, but you can wrap such code with #region/#endregion directives and then collapse that region in editor. Let me know if this helps. Thank you!

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0

Please sign in to leave a comment.