Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does Resharper want to apply camel-case to private methods?

Is there any way to tell to Resharper that methods should have different naming conventions depending on the access modifier as suggested for example here? I mean for example:

private methods lowerCamelCase

public methods UpperCamelCase

etc...

like image 460
Tobia Zambon Avatar asked Dec 07 '12 15:12

Tobia Zambon


1 Answers

Sure, just go to ReSharper Options | Code Editing | C# | Naming Style, click Advanced Settings and then Add to add your custom rules. The extended naming rules let you define things like member visibility, whether it's static, and so on.

like image 198
Dmitri Nesteruk Avatar answered Oct 20 '22 16:10

Dmitri Nesteruk