Community
Participate
Working Groups
Since latest update something changed how methods and parameters are completed. For exmaple: String str = ""; str.replace("foo", "bar"); In previous version I could place the cursor before "bar", hit ctrl+space and got the list of all "replace"-methods with the current one selected. I think this list was also filterd according to the parameter-position and displayed only methods with "enough" parameters. -> in 4.21 there are only variables and parameters in the list. There are for sure more changes but unfortunately I don't have examples yet - I can only say that it sometimes "feels wrong" what is shown in the proposals. :-)
Please provide self contained example to reproduce. See bug 575919 related issues for possible duplicates.
I'm not 100% sure but I think that my report is different from the others. But glad to hear, that I'm not the only one having difficulties to explain what has changed. :D Here is another example String str = ""; str.lastIndexOf(""); then set the cursor to between ( and " and hit ctrl+space result: all lastIndexOf-methods with different arguments displayed now set the cursor between " and ) and hit ctrl+space result: method-list is empty here is another example public class XYZ { int getX() { return 0; } int getY() { return 0; } int getZ() { return 0; } void foobar() { final String str = ""; // if you hit ctrl+space after the method and select for example lastIndexOf(int, int) // getY() and getX() are automatically used as arguments which is in most cases wrong.... str.lastIndexOf } }
ad least my XYZ-problem could be solved by configuration Preferences -> Java -> Editor -> Content Assist Set "Fill method arguments and show guessed arguments" to "Insert parameter names"
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
this is still an issue