Community
Participate
Working Groups
When pressing '.' while the content assist is shown, the selected proposal is inserted. The same behaviour on ',' would help when filling in parameter lists.
This already works for method proposals but not for local variable proposals. Invoking Code Assist in the code below, where '|' represents the caret and then pressing ',' insterts the first proposal: class Foo { void bar(Object foo1, Object foo2) { bar(foo1.|); } } The same steps do not work for the following: class Foo { void bar(Object foo1, Object foo2) { bar(f|); } } Changing from enhancement request to bug report.
This makes sense. The difficult part is figuring out whether we are in a parameter list or not. And then, the same should probably work in all comma separated lists: - constructor call (probably the same as method, as we can't rely on the AST anyway) - array initializers - in method definitions, when completing parameter *names* (not types)
*** Bug 154740 has been marked as a duplicate of this bug. ***
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.
In 4.11 M1 both cases don't work.