I have another annoyance with code completion:

    int value;

    int getValue() {
      return value;
    }

    int getA() {
    }

    void aMethod() {
      ...
      xxx += |value;
      ...
    }

Now I want to replace the direct field-access with the getValue() call(*1). 
I type "get" and hit Ctrl-Space:
      xxx += get|value;

IDEA suggests getA(), because it's the first method (in alphabetic order), 
that starts with "get". If I simply hit <Tab>, I get "getA()" instead of 
the expected "getValue()".

I want IDEA to take a look at the right side of the cursor-position for 
pre-selecting an entry in the popup.

Best regards,
Tom


(*1) It's just an example -- don't suggest to use "Encapsulate fields".


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

Reply via email to