Summary: | [formatter] Indentation may be still wrong in certain circumstances after formatting | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Frederic Fusier <frederic_fusier> | ||||
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | Olivier_Thomann, satyam.kandula | ||||
Version: | 3.6 | ||||||
Target Milestone: | 3.6 M4 | ||||||
Hardware: | PC | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Frederic Fusier
2009-12-08 11:06:18 EST
Created attachment 154025 [details]
Proposed patch
Verify all places where similar algorithm is used. Rename methods and variables as it's safer to compute the indentation and add 1 when the column is needed...
All JDT (Core/UI/Text) tests pass with the proposed patch and massive formatter tests only show improvements, hence I have released it for 3.6M4... +1 for 3.6M4. We want the code formatter to be as stable as possible as soon as possible. Verified for 3.6M4 using Build id: I20091209-0100 Verified. |