I like to make the first letter of private methods, properties and events lowercase and the first letter of public methods, properties and events uppercase. However, in ReSharper 7.1 there is only one option under C# naming style that applies all methods, properties and events. What is the best way to tell ReSharper to use a different convention for private only?
ReSharper C# naming style for private methods and properties
Asked Answered
Is it not under ResharperOptions=>CodeEditing=>C#=>Naming Style? –
Embarkation
@P_G At least not in v7.1 –
Pipette
You can create your own Naming Style Rule.
Resharper Options => Code Editing => [Language] => Naming Style => Advanced Options => +Add...
Verified that the requested functionality is possible using this option.
Is this possible in JetBrains Rider (Resharper-Based)? Asked in: #48105181 –
Stickup
Do you have an example of what to enter there? –
Andi
© 2022 - 2024 — McMap. All rights reserved.