Community
Participate
Working Groups
Suppose you have: package a; public class A { public static void testMethodWithLongName() { } } And then: package b; import static a.A.testMethodWithLongName; public class B { public void b() { tMWLN<= invoke code completion here } } Camel case completion does not work. Instead, if you type "test<= invoke code completion", it does work.
Created attachment 132019 [details] Proposed patch Added the appropriate check before calling findLocalMethodsFromStaticImports method to ensure that camel case is considered. Added the test case in CompletionTests_1_5.testCamelCaseStaticMethodImport.
Created attachment 132049 [details] Latest patch Made corrections to the test case as suggested by David. Also excluded other changes that went along with the patch as part of a local merge.
Created attachment 132084 [details] Latest patch Fix made to handle the following case also. Test case modified too. package a; public class A { public static void testMethodWithLongName(){} public static void testMethodWithLongName2(){} } ----- package b; import static a.A.testMethodWithLongName; public class B { public void b() { tMWLN<= invoke code completion here } } ----
Created attachment 132185 [details] Latest patch Removed the code that was commented out earlier.
Comment on attachment 132185 [details] Latest patch This patch is good for me
Released for 3.5M7.
Verified for 3.5M7 using I20090426-2000