Currently, basic code completion suggests variable names based on the class
name:

Exception -> exception
RuntimeException -> exception, runtimeException
IllegalArgumentException -> argumentException, exception,
illegalArgumentException

It seems like the suggestions are alphabetically sorted and the selection
defaults
to the longest choice. I like the default selection but I don't like the
alphabetical sorting. I would like it to be sorted by length, longest first:

IllegalArgumentException -> illegalArgumentException, argumentException,
exception

Another thing I would like to see is an additional variable name suggestion
based
on the capital letters of the class name:

IllegalArgumentException -> illegalArgumentException, argumentException,
exception, iae

Notice the "iae" at the bottom of the list. I use this type of variable name
almost
exclusively when catching exceptions, and also for instances of regular
classes in
unit tests, in other words, I use it quite often.

Thanks for considering and keep up the good work!
-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-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to