Project: JDT
Bug 274833 [content assist] inserting anonymous type proposal not correctly formatted
Reported: 2009-05-04 10:09:36 | Status: verified fixed

3.5 M7. 1. type "new Runnable(" 2. content assist ==> new Runnable(){ ==> there's a missing space This is not a regression introduced by the new proposal kind but was already an issue in 3.4. The reason is that the string used to format is not always correct.

Files changed in fix:
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/contentassist/CodeCompletionTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AnonymousTypeCompletionProposal.java