Community
Participate
Working Groups
I20081104-0916, same in 3.4 Enable content assist preference to insert best guessed arguments. Have: import java.text.MessageFormat; public class Try { public static void main(String[] args) { String fooBar= "Hi"; String furchtbar= MessageFormat.format| } } At location of |, invoke content assist. Result: String furchtbar= MessageFormat.format(furchtbar, args) The variable 'furchtbar' should not be guessed, since it is out of scope. Same problem inside field initializers.
org.eclipse.jdt.core.CompletionContext.getVisibleElements(String) should not return them.
*** This bug has been marked as a duplicate of bug 236306 ***