How to DISABLE "Serialized Field Naming Rules" in Rider ?

"Serialized Field Naming Rules" will override other naming rules in Rider.

 

For example, I have :

 "m_PascalCase" rule for private filed,

 "camelCase" rule for public filed, 

Even I turn off inspection of "Serialized Field Naming Rules". It still hided the "m_PascalCase" rule for private filed ( "b" in the image).

How can I disable "Serialized Field Naming Rules" ?

1 comment
Comment actions Permalink

Hello, 

You can't disable it, but you can configure it, and disable inspections. Unfortunately, you can't easily configure it to have different settings for public/private serialized fields, although everything does support that. There's a thread on GitHub with the .dotSettings lines to make it work.

0

Please sign in to leave a comment.