Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 296943

Summary: [typing] Auto indention fails if last argument is ""); and on a separate line
Product: [Eclipse Project] JDT Reporter: Peter Larsen <peblpebl>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: trivial    
Priority: P3 CC: daniel_megert, deepakazad, markus.kell.r, Olivier_Thomann
Version: 3.5   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Peter Larsen CLA 2009-12-04 12:40:04 EST
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
Build Identifier: M20090917-0800


In the following example the ""); is indented wrong.

public static void formaterror() {
	System.out.println(
			"Foo"+
			"Bar"+
	"");
}


Reproducible: Always
Comment 1 Olivier Thomann CLA 2009-12-04 16:15:04 EST
Move to JDT/Text
Comment 2 Deepak Azad CLA 2011-02-11 02:14:28 EST
This works now.

*** This bug has been marked as a duplicate of bug 75573 ***