Resharper surrounds NUnit [SetUp] with areas when clearing code

In Ctrl + E, C (Clear Code), ReSharper surrounds the [SetUp] method with an area.

Does anyone know how I can stop this? I do not like regions, and I do not want them in any of my codes. It slows me down by deleting them all the time. I'm not going to stop using Code Cleanup because it's just too ace, but this aspect is annoying.

+3
source share
1 answer

If you go to resharper options → type layout. Cancel the default setting and the default layout will be displayed there. You can find the Nunit text that you want to delete and edit. Apply it and do it.

+10
source

All Articles