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

Bug 153819

Summary: Invalid indentation of continuation lines
Product: [Eclipse Project] JDT Reporter: Sergey Prigogin <eclipse.sprigogin>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Sergey Prigogin CLA 2006-08-14 16:01:51 EDT
In Preferences->Code Style->Formatter select Eclipse [built-in].
In Java editor type:
        int x =
and press Enter. The continuation line gets indented by one indent instead of expected two.

Type:
        int x = 5 +
and press Enter. The continuation line does not get indented at all instead of expected two standard indents.
Comment 1 Tom Hofmann CLA 2006-08-15 04:00:07 EDT

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