Community
Participate
Working Groups
I20050513-0010 Steps to reproduce: - Create a new Class "Foo" - Type "import static java.lang.Math." - Press Ctrl+Space - Type "a" -> Instead of constraining the proposals to all members with prefix a, the popup closes
Tom, please investigate.
Time permitting for RC2.
Different phenomenon showing the same problem: the replaceStart and replaceEnd properties of METHOD_NAME_REFERENCE proposals are not set. *** This bug has been marked as a duplicate of 97307 ***
Not a dup, but only dependent - now the problem is that the display name for static imports does not match the completion (which is fully qualified). A fix would extend validate() in JavaMethodCompletionProposal and allow qualified matches similar to LazyJavaTypeCompletionProposal.
Deferred.
*** Bug 108514 has been marked as a duplicate of this bug. ***
Tom, please investigate a fix for 3.1.1.
Created attachment 26765 [details] JavaMethodCompletionProposal.java.diff patch that fixes the static imports problem. Does not fix a similar problem when completing types in javadoc (e.g. within @see tags).
released this to HEAD, leaving open for 3.1.1.
Created attachment 26789 [details] LazyJavaCompletionProposal.java.diff real patch - this patch checks for METHOD_NAME_REFERENCE proposals and validates these differently. The other patch is still valid (changes the auto-insertion triggers for METHOD_NAME_REFERENCE proposals), but not crucial for 3.1.1. Released to HEAD.
Verified patch. Committed and released into R3_1_maintenance.
start verifying...
Verified the code assist behaves correctly in static and non static import statements. Verified on M20050831-1200