[216] Naming convention

Hi,

I have a question regarding the naming conventions. I like to prefix
fields by "m_" and continue with upper case like "m_Width". I can add
the prefix but did not found a setting for the upper case. Did I miss
something or isn't that possible yet?

If using the Nerpa plugin you get naming convention warnings, so it
would be nice to tell R# how I like it (and get rid of some false warnings).


Sincerely,
Stefan Lieser

3 comments
Comment actions Permalink

Hello Stefan,

There are no casing settings in Resharper as far as I know. Nerpa assumes
lowercase after prefix as Resharper does. I will add an option to control
this.

Sincerely,
Ilya Ryzhenkov


SL> Hi,
SL>
SL> I have a question regarding the naming conventions. I like to prefix
SL> fields by "m_" and continue with upper case like "m_Width". I can
SL> add the prefix but did not found a setting for the upper case. Did I
SL> miss something or isn't that possible yet?
SL>
SL> If using the Nerpa plugin you get naming convention warnings, so it
SL> would be nice to tell R# how I like it (and get rid of some false
SL> warnings).
SL>
SL> Sincerely,
SL> Stefan Lieser


0
Comment actions Permalink

Thanks Ilya!

Btw. do you know if such a setting is planned for R#?


Sincerely,
Stefan Lieser

Ilya Ryzhenkov schrieb:

Hello Stefan,

There are no casing settings in Resharper as far as I know. Nerpa
assumes lowercase after prefix as Resharper does. I will add an option
to control this.

Sincerely,
Ilya Ryzhenkov


SL> Hi,
SL> SL> I have a question regarding the naming conventions. I like to
prefix
SL> fields by "m_" and continue with upper case like "m_Width". I can
SL> add the prefix but did not found a setting for the upper case. Did I
SL> miss something or isn't that possible yet?
SL> SL> If using the Nerpa plugin you get naming convention warnings, so it
SL> would be nice to tell R# how I like it (and get rid of some false
SL> warnings).
SL> SL> Sincerely,
SL> Stefan Lieser

0
Comment actions Permalink

Hello Stefan,

I don't know if it is planned, but I think there are requests in the tracker
for this. You can search for them and see their state, or if you don't find
them - file your own!

Sincerely,
Ilya Ryzhenkov


SL> Thanks Ilya!
SL>
SL> Btw. do you know if such a setting is planned for R#?
SL>
SL> Sincerely,
SL> Stefan Lieser
SL> Ilya Ryzhenkov schrieb:
SL>
>> Hello Stefan,
>>
>> There are no casing settings in Resharper as far as I know. Nerpa
>> assumes lowercase after prefix as Resharper does. I will add an
>> option to control this.
>>
>> Sincerely,
>> Ilya Ryzhenkov
>> SL> Hi,
>> SL> SL> I have a question regarding the naming conventions. I like to
>> prefix
>> SL> fields by "m_" and continue with upper case like "m_Width". I can
>> SL> add the prefix but did not found a setting for the upper case.
>> Did I
>> SL> miss something or isn't that possible yet?
>> SL> SL> If using the Nerpa plugin you get naming convention warnings,
>> so it
>> SL> would be nice to tell R# how I like it (and get rid of some false
>> SL> warnings).
>> SL> SL> Sincerely,
>> SL> Stefan Lieser


0

Please sign in to leave a comment.