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

Bug 72339

Summary: "Correct Indentation" doesn't indent 2nd line of return statement
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: TextAssignee: Tom Hofmann <eclipse>
Status: RESOLVED DUPLICATE QA Contact:
Severity: minor    
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Markus Keller CLA 2004-08-20 08:16:46 EDT
I200408170800

"Correct Indentation" and Smart Enter don't indent the 2nd line of a wrapped
return statement.

- Code formatter:
return "I'm such a long string that you have to "
		+ "split me to see the whole line without scrolling around";

- "Correct Indentation" and Smart Enter:
return "I'm such a long string that you have to "
+ "split me to see the whole line without scrolling around";
Comment 1 Tom Hofmann CLA 2004-08-20 10:50:26 EDT
hm, looking at this again, this is a dup of bug 65317. We do a really bad job at
indenting continuations.

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