Bug 365264 - [preferences] Add customizable formatting preferences for line wrapping based on number of elements
Summary: [preferences] Add customizable formatting preferences for line wrapping based...
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.8   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 303519
Blocks:
  Show dependency tree
 
Reported: 2011-12-01 01:21 EST by Ankush Kalkote CLA
Modified: 2022-11-14 10:16 EST (History)
7 users (show)

See Also:


Attachments
new formatter prefs-high level (99.36 KB, application/pdf)
2012-01-11 01:34 EST, Ayushman Jain CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ankush Kalkote CLA 2011-12-01 01:21:29 EST
Build Identifier: 

Formatter algorithm for https://bugs.eclipse.org/bugs/show_bug.cgi?id=303519 allows more customizable formatting preferences based on the number of elements during line wrapping.
e.g. if method declaration contains more than 4 parameters, wrapping should do ONE_PER_LINE split, else it should do COMPACT split. 
Implementation of UI for these preferences is needed.
This separate bug is created to track the UI part of bug 303519.

Reproducible: Always
Comment 1 Ayushman Jain CLA 2011-12-01 10:55:05 EST
Note that a patch for jdt.ui is attached in bug 303519 - https://bugs.eclipse.org/bugs/attachment.cgi?id=194494
Comment 2 Ayushman Jain CLA 2012-01-11 01:34:28 EST
Created attachment 209298 [details]
new formatter prefs-high level

This is the document prepared by Ankush to list out the new formatter preferences which the patch in bug 303519 introduces.
Comment 3 Srikanth Sankaran CLA 2012-01-16 01:37:38 EST
(In reply to comment #1)
> Note that a patch for jdt.ui is attached in bug 303519 -
> https://bugs.eclipse.org/bugs/attachment.cgi?id=194494

Please ignore this. The right and most recent patch is 
https://bugs.eclipse.org/bugs/attachment.cgi?id=206927
Comment 4 Markus Keller CLA 2012-01-16 06:11:11 EST
JDT UI test suites that could be affected here are:
- org.eclipse.jdt.text.tests.JdtTextTestSuite
- org.eclipse.jdt.ui.tests.AutomatedSuite
- org.eclipse.jdt.ui.tests.refactoring.all.AllAllRefactoringTests.suite()