Hussein Khalil
Hussein Khalil

Reputation: 1625

Resharper: Trying to create a custom rule / pattern where comments must start with a capital letter and end with a period

We just finished defining our coding standards in our group and I'd like to create some custom rules in Resharper to enforce said standards.

Among them is enforcing that all comments start with a space, a capital letter and ends with a period.

Are there any way in Resharper to create such a rule ?

Upvotes: 1

Views: 1196

Answers (1)

Kit
Kit

Reputation: 21709

Out of the box Resharper does not offer anything for restructuring comments. It does have custom code restructuring capabilities, but looking in that list does not show anything for comments in the placeholders.

Maybe something else like StyleCop or GhostDoc might be of use. The former plugs into Resharper.

Upvotes: 4

Related Questions