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

Bug 331353

Summary: [typing] Auto-indent does not handle continuation properly
Product: [Eclipse Project] JDT Reporter: Dani Megert <daniel_megert>
Component: TextAssignee: Rajesh <rthakkar>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: markus.kell.r
Version: 3.6   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Dani Megert CLA 2010-11-29 11:21:38 EST
3.6 and also with fix for bug 65317 and bug 330556.

	void foo() {
		thisisatest().thisisatest();
	}
Comment 1 Rajesh CLA 2011-03-15 03:47:12 EDT
(In reply to comment #0)
> 3.6 and also with fix for bug 65317 and bug 330556.
> 
>     void foo() {
>         thisisatest().thisisatest();
>     }

Dani - what doesn't work with this sample?
Comment 2 Dani Megert CLA 2011-03-15 07:38:58 EDT
(In reply to comment #1)
> (In reply to comment #0)
> > 3.6 and also with fix for bug 65317 and bug 330556.
> > 
> >     void foo() {
> >         thisisatest().thisisatest();
> >     }
> 
> Dani - what doesn't work with this sample?
The indentation is wrong after pressing 'Enter' with the caret before or after the '.'. Once wrapped Ctl+I does not work either - the result is:

	void foo() {
		thisisatest()
		.thisisatest();
	}
Comment 3 Dani Megert CLA 2011-04-13 09:07:51 EDT

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