Summary: | [formatter] Java annotation formatting | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Chris McMillan <mcmillan.chris> | ||||||||||
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> | ||||||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||||||
Severity: | enhancement | ||||||||||||
Priority: | P3 | CC: | joerg.mueller, lhunath, Olivier_Thomann, srikanth_sankaran | ||||||||||
Version: | 3.5 | ||||||||||||
Target Milestone: | 3.6 M6 | ||||||||||||
Hardware: | All | ||||||||||||
OS: | All | ||||||||||||
Whiteboard: | |||||||||||||
Bug Depends on: | |||||||||||||
Bug Blocks: | 281655, 303314 | ||||||||||||
Attachments: |
|
Description
Chris McMillan
2009-06-30 11:50:01 EDT
Created attachment 159543 [details] Proposed patch This new patch propose a new formatter option to align annotation arguments (ie. element-value pairs)... Note that this patch also fixes bug 281655 issue as the 'Never join lines' needs an alignment to be activated... Created attachment 159549 [details]
Proposed patch
Fix a failing existing test on annotations formatting...
Created attachment 159813 [details]
Proposed patch + doc
Same patch as previous synchronized with HEAD + an entry in the build notes...
(In reply to comment #3) > Created an attachment (id=159813) [details] > Proposed patch + doc > > Same patch as previous synchronized with HEAD + an entry in the build notes... Released for 3.6M6 in HEAD stream. Created attachment 159908 [details]
Additional patch
This patch changes the default value to WRAP_NO_SPLIT in order to avoid breaking current formatter behavior. Hence, to have this new functionality activated, users need to explicitly set the corresponding preferences...
(In reply to comment #5) > Created an attachment (id=159908) [details] > Additional patch > Released for 3.6M6 in HEAD stream. Verified for 3.6M6 using build I20100305-101 *** Bug 310448 has been marked as a duplicate of this bug. *** *** Bug 207809 has been marked as a duplicate of this bug. *** |