Resharper - How to disable w710 access modifier?

I don't like it when 'private' is placed in front of access modifiers. They are all private by default anyway, and it's just a visual mess.

How to disable resharper, constantly tagging everything with 'private'?

+6
source share
2 answers

ReSharper 9.1

ReSharper → Options → Code Editing → C # → Code Style → Modifiers → Use Explicit Private Modifier (Un-Check)

enter image description here

** ReSharper 2016.1 ReSharper → Parameters → Code Editing → C # → Code Style → Modifiers →

enter image description here

+8
source

In the ReSharper options menu, go to Code editing → C # → Formatting style → Other and disable the explicit private modifier.

enter image description here

+8
source

Source: https://habr.com/ru/post/913075/


All Articles