| Summary: | [Code Formatter] one line ifs + wrapping misbehaves | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Palmer Eldritch <the.ubik> | ||||
| Component: | Core | Assignee: | Mateusz Matela <mateusz.matela> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | mateusz.matela | ||||
| Version: | 4.3 | ||||||
| Target Milestone: | 4.5 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
This problem no longer occurs after the formatter redesign. *** This bug has been marked as a duplicate of bug 303519 *** |
Created attachment 237469 [details] formatter export In the code below the Build.VERSION_CODES.GINGERBREAD) ends exactly at column 80 (line begins with 2 tabs, tab size = 4) if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD) ed.apply(); else ed.commit(); hitting Ctrl+Shift+F moves ed to line above - needlessly breaking wrapping I attach the formatting profile