Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 108481 - Bad auto-indentation on continuations
Summary: Bad auto-indentation on continuations
Status: RESOLVED DUPLICATE of bug 65317
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-31 12:14 EDT by Jonathan Edwards CLA
Modified: 2005-08-31 12:35 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Edwards CLA 2005-08-31 12:14:10 EDT
There are a number of places where statments and expressions which are continued
over multiple lines get bogus auto-indentation. Here are some examples:

a = b
+ c;

for (int i = 0;
i < 1; i++);

i = (true 
        ? 1 
                : 0);

I have not found any settings that can fix these cases.
Comment 1 Dani Megert CLA 2005-08-31 12:22:02 EDT
Auto-indentation normally uses the formatter settings. If this is not the case
then please provide the cases that do not work for you and attach your formatter
profile and your preference, see also:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-text-home/development/bug-incomplete.htm
Comment 2 Tom Hofmann CLA 2005-08-31 12:34:31 EDT
reopen to mark as dup.
Comment 3 Tom Hofmann CLA 2005-08-31 12:35:00 EDT
continuation problems with auto-indent / smart paste handled in bug 65317

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