The sorting of variable names is inconsistent between
basic code completion and the rename variable refactoring.

Consider the class IllegalMonitorStateException.

Basic code completion lists the variable names alphabetically,
whith the longest one pre-selected, like so:
exception
illegalMonitorStateException <- pre-selected
monitorStateException
stateException

Rename variable refactoring lists the previous name of
the variable at the top, followed by the others sorted by
length, like so:
monitorStateException <- previous name
exception
stateException
illegalMonitorStateException

I would suggest synchronizing the different ways of
sorting. My preference, as stated in a previous post,
would be sorting this list by length (descending).

While we're at it, I would like to see another variable
name suggestion implemented, which is the concatenation
of the uppercase letters in the class name. In the
above example, that would be "imse".

Thanks!
-Thomas


************************************
If this email is not intended for you, or you are not responsible for
the delivery of this message to the addressee, please note that this
message may contain ITT Privileged/Proprietary Information.  In such
a case, you may not copy or deliver this message to anyone.  You should
destroy this message and kindly notify the sender by reply email.
Information contained in this message that does not relate to the
business of ITT is neither endorsed by nor attributable to ITT.
************************************



_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to