Summary: | [formatter] "Every Element on a New Line" formatting for enum's Constant Arguments is ignored | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Amitay Dobo <amitayd> |
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> |
Status: | VERIFIED INVALID | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | Olivier_Thomann, srikanth_sankaran |
Version: | 3.5 | ||
Target Milestone: | 3.7 M1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Amitay Dobo
2010-06-09 11:23:20 EDT
Please provide a test case and formatter options used so that we can reproduce the defect. The wrapping is applied only if the line is too long. If you want it in all cases, you need to set the "force" wrapping option. Olivier, You are correct, setting the "force" wrapping option does produce the behavior I was expecting. Thank you very much for your help. I misinterpreted "Constant Arguments" as "constants WITH arguments". Since the Preview's example for the non argumented constants was wrapped at the default 40 columns preview, since they exceed 40 cols. Closing as invalid. Switch status to resolved as this must go through our milestone verification process... Verified for 3.7M1 |