| Summary: | [formatter] Code Formatter fails on inner class source indentation | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Hüseyin Kartal <hk> | ||||||||
| Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> | ||||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||||
| Severity: | major | ||||||||||
| Priority: | P3 | CC: | daniel_megert, markus.kell.r, Olivier_Thomann, satyam.kandula | ||||||||
| Version: | 3.5 | ||||||||||
| Target Milestone: | 3.7 M5 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows 7 | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
Created attachment 172036 [details]
Java Code Formatter Settings
Reproduced in HEAD. Created attachment 185840 [details] Additional test As per bug 330313 comment 8, the fix for that bug also fixes this one, hence only add a test for this specific use case... Fixed for 3.7M5 in HEAD stream. Created attachment 185841 [details]
Additional test
Ooops, a small glitch in the previous patch... This one is correct.
Verified for 3.7M5 using build I20110124-1800 |
on every code format attempt the indentation is increased ! example: public class InnerClassIndent { public void innerThread() { new Thread(new Runnable() { @Override public void run() { // TODO Auto-generated method stub } }).start(); } }