Naming Style request

Hi

Would it be possible to have the option to change the case as well as the
name prefix.

public Currencies Currency { get; set; }

To property with backing field gives:

private Currencies _Currency;
public Currencies Currency
{
get { return _Currency; }
set { _Currency = value; }
}

but I would like

private Currencies _currency;
public Currencies Currency
{
get { return _currency; }
set { _currency = value; }
}

If I do not set the name prefix to "_", the private field is created in
lower case.

Thanks
Jeremy

3 comments
Comment actions Permalink

Agreed, at least an option to toggle between camelCase and PascalCase would
be an improvement.

Regards,
Mike

"Jeremy Holt" <no_reply@jetbrains.com> wrote in message
news:fqs92o$plq$1@is.intellij.net...

Hi

>

Would it be possible to have the option to change the case as well as the
name prefix.

>

public Currencies Currency { get; set; }

>

To property with backing field gives:

>

private Currencies _Currency;
public Currencies Currency
{
get { return _Currency; }
set { _Currency = value; }
}

>

but I would like

>

private Currencies _currency;
public Currencies Currency
{
get { return _currency; }
set { _currency = value; }
}

>

If I do not set the name prefix to "_", the private field is created in
lower case.

>

Thanks
Jeremy


0
Comment actions Permalink

I'd vote for that. Has anyone created a feature request in JIRA?

0
Comment actions Permalink

Actually after posting the request I noticed that by default you are in
local Rename mode (or whatever its called), so its not a very big deal to
just pick one of the backing variables and change its capitalization

"Michael Flanakin" <no_replay@jetbrains.com> wrote in message
news:27524403.1205007973722.JavaMail.itn@is.intellij.net...

I'd vote for that. Has anyone created a feature request in JIRA?


0

Please sign in to leave a comment.