diff options
Diffstat (limited to 'org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/DefaultCodeFormatterConstants.java')
-rw-r--r-- | org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/DefaultCodeFormatterConstants.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/DefaultCodeFormatterConstants.java b/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/DefaultCodeFormatterConstants.java index 4dde0c415e..e2f4edd280 100644 --- a/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/DefaultCodeFormatterConstants.java +++ b/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/DefaultCodeFormatterConstants.java @@ -324,11 +324,25 @@ public class DefaultCodeFormatterConstants { * - default: createAlignmentValue(false, WRAP_ONE_PER_LINE, INDENT_DEFAULT) * </pre> * @see #createAlignmentValue(boolean, int, int) + * @see #FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION_CHAIN * @since 3.0 */ public static final String FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION = JavaCore.PLUGIN_ID + ".formatter.alignment_for_conditional_expression"; //$NON-NLS-1$ /** * <pre> + * FORMATTER / Option for alignment of conditional expression chains. If disabled, chains are not recognized + * and only {@link #FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION} policy is used instead. + * - option id: "org.eclipse.jdt.core.formatter.alignment_for_conditional_expression_chain" + * - possible values: values returned by <code>createAlignmentValue(boolean, int, int)</code> call + * - default: createAlignmentValue(false, WRAP_NO_SPLIT, INDENT_DEFAULT) + * </pre> + * @see #createAlignmentValue(boolean, int, int) + * @see #FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION + * @since 3.17 + */ + public static final String FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION_CHAIN = JavaCore.PLUGIN_ID + ".formatter.alignment_for_conditional_expression_chain"; //$NON-NLS-1$ + /** + * <pre> * FORMATTER / Option for alignment of enum constants * - option id: "org.eclipse.jdt.core.formatter.alignment_for_enum_constants" * - possible values: values returned by <code>createAlignmentValue(boolean, int, int)</code> call |