poor rename quick fix
this is in today's 1225 build:
If I have a "legacy member variable" like this:
m_alternateNamePosition
the tool suggests that the naming is incorrect and should start with "_".
but:
it renames to "_mAlternateNamePosition"
Surely "m_" and "s_" are well known alternative naming schemes, and the quick for to "_ only" scheme should not keep the additional "m" (or "s" for static)?
Please sign in to leave a comment.
Hello Trevor,
I believe it analyses it like "Word_Word", as it doesn't know m_ or s_ prefix.
We'll see what we can do.
Sincerely,
Ilya Ryzhenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
IR> this is in today's 1225 build:
IR>
IR> If I have a "legacy member variable" like this:
IR>
IR> m_alternateNamePosition
IR>
IR> the tool suggests that the naming is incorrect and should start with
IR> "_".
IR>
IR> but:
IR> it renames to "_mAlternateNamePosition"
IR> Surely "m_" and "s_" are well known alternative naming schemes, and
IR> the quick for to "_ only" scheme should not keep the additional "m"
IR> (or "s" for static)?
IR>
IR> ---
IR> Original message URL:
IR> http://www.jetbrains.net/devnet/message/5235023#5235023