Project: JDT
Bug 404879 [typing] Regression on auto-insert of {}
Reported: 2013-04-04 05:24:42 | Status: resolved fixed

Up until M6 given source text such as (@ is the cursor position) @xxxx it was possible to insert type if (yyyy != null) {@xxxx then new line to get if (yyyy != null) { xxxx } Now (in M6) and in eclipse-SDK-I20130402-0800-win32.zip we get if (yyyy != null) { }xxxx Super-irritating.

Files changed in fix:
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/JavaAutoIndentStrategyTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java