How to set up a naming convention for types or fields marked with an attribute?

I would like the ability to add a rule so that all fields and properties with the [DataMember] attribute, regardless of their scope, have a certain naming convention. I could not find a way to create such a rule. Anyone know how?

Comment actions Permalink

Hello Pat,

At the moment there's no way to apply a naming rule to members marked with
certain attribute only. You're welcome to put a feature request at
Thank you!

Andrey Serebryansky
Support Engineer
JetBrains, Inc
"Develop with pleasure!"



Please sign in to leave a comment.