Summary: | [formatter] Need option to control line wrapping before/after operators | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Mark Drew <eclipse> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | hcs333, ian, mlists |
Version: | 3.1 | ||
Target Milestone: | 3.3 M7 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: | |||
Bug Depends on: | |||
Bug Blocks: | 183685 |
Description
Mark Drew
2004-11-19 08:47:46 EST
Deferring post 3.1 Reopen *** Bug 115210 has been marked as a duplicate of this bug. *** I would add the following constant: /** * <pre> * FORMATTER / Option to wrap before the binary operator * - option id: "org.eclipse.jdt.core.formatter.wrap after the binary operator" * - possible values: { TRUE, FALSE } * - default: FALSE * </pre> * This option is used only if the option {@link #FORMATTER_ALIGNMENT_FOR_BINARY_EXPRESSION} is set. * @see #TRUE * @see #FALSE * @since 3.3 */ public static final String FORMATTER_WRAP_BEFORE_BINARY_OPERATOR = JavaCore.PLUGIN_ID + ".formatter.wrap_before_binary_operator"; //$NON-NLS-1$ One of the two cases described below won't be preserved. +1 The constant has been added for 3.3M6 and the implementation will be provided post M6. Released for 3.3M7. Added regression test org.eclipse.jdt.core.tests.formatter.FormatterRegressionTests.test661() Verified for 3.3 M7 using build I20070427-0010. *** Bug 48476 has been marked as a duplicate of this bug. *** |