diff options
Diffstat (limited to 'core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/formatter/DefaultCodeFormatterConstants.java')
-rw-r--r-- | core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/formatter/DefaultCodeFormatterConstants.java | 1428 |
1 files changed, 661 insertions, 767 deletions
diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/formatter/DefaultCodeFormatterConstants.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/formatter/DefaultCodeFormatterConstants.java index c388bbd94eb..f2df1ac7aab 100644 --- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/formatter/DefaultCodeFormatterConstants.java +++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/formatter/DefaultCodeFormatterConstants.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 QNX Software Systems and others. + * Copyright (c) 2000, 2008 QNX Software Systems and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -63,15 +63,14 @@ public class DefaultCodeFormatterConstants { * <pre> * FORMATTER / Value to set a brace location at the end of a line. * </pre> - * @see #FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION - * @see #FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER + * @see #FORMATTER_BRACE_POSITION_FOR_INITIALIZER_LIST * @see #FORMATTER_BRACE_POSITION_FOR_BLOCK * @see #FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION * @see #FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION * @see #FORMATTER_BRACE_POSITION_FOR_SWITCH * @see #FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION */ - public static final String END_OF_LINE = "end_of_line"; //$NON-NLS-1$ + public static final String END_OF_LINE = "end_of_line"; //$NON-NLS-1$ /** * <pre> @@ -154,24 +153,44 @@ public class DefaultCodeFormatterConstants { public static final String FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION = CCorePlugin.PLUGIN_ID + ".formatter.alignment_for_conditional_expression"; //$NON-NLS-1$ /** * <pre> - * FORMATTER / Option for alignment of expressions in array initializer + * FORMATTER / Option for alignment of expressions in initializer list * - option id: "org.eclipse.cdt.core.formatter.alignment_for_expressions_in_array_initializer" * - possible values: values returned by <code>createAlignmentValue(boolean, int, int)</code> call * - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) * </pre> * @see #createAlignmentValue(boolean, int, int) */ - public static final String FORMATTER_ALIGNMENT_FOR_EXPRESSIONS_IN_ARRAY_INITIALIZER = CCorePlugin.PLUGIN_ID + ".formatter.alignment_for_expressions_in_array_initializer"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option for alignment of multiple fields -// * - option id: "org.eclipse.cdt.core.formatter.alignment_for_multiple_fields" -// * - possible values: values returned by <code>createAlignmentValue(boolean, int, int)</code> call -// * - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) -// * </pre> -// * @see #createAlignmentValue(boolean, int, int) -// */ -// public static final String FORMATTER_ALIGNMENT_FOR_MULTIPLE_FIELDS = CCorePlugin.PLUGIN_ID + ".formatter.alignment_for_multiple_fields";//$NON-NLS-1$ + public static final String FORMATTER_ALIGNMENT_FOR_EXPRESSIONS_IN_INITIALIZER_LIST = CCorePlugin.PLUGIN_ID + ".formatter.alignment_for_expressions_in_array_initializer"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option for alignment of a declarator list + * - option id: "org.eclipse.cdt.core.formatter.alignment_for_declarator_list" + * - possible values: values returned by <code>createAlignmentValue(boolean, int, int)</code> call + * - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) + * </pre> + * @see #createAlignmentValue(boolean, int, int) + */ + public static final String FORMATTER_ALIGNMENT_FOR_DECLARATOR_LIST = CCorePlugin.PLUGIN_ID + ".formatter.alignment_for_declarator_list"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option for alignment of a enumerator list + * - option id: "org.eclipse.cdt.core.formatter.alignment_for_enumerator_list" + * - possible values: values returned by <code>createAlignmentValue(boolean, int, int)</code> call + * - default: createAlignmentValue(false, WRAP_ONE_PER_LINE, INDENT_DEFAULT) + * </pre> + * @see #createAlignmentValue(boolean, int, int) + */ + public static final String FORMATTER_ALIGNMENT_FOR_ENUMERATOR_LIST = CCorePlugin.PLUGIN_ID + ".formatter.alignment_for_enumerator_list"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option for alignment of a expression list (except arguments in a method invocation) + * - option id: "org.eclipse.cdt.core.formatter.alignment_for_expression_list" + * - possible values: values returned by <code>createAlignmentValue(boolean, int, int)</code> call + * - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) + * </pre> + * @see #createAlignmentValue(boolean, int, int) + */ + public static final String FORMATTER_ALIGNMENT_FOR_EXPRESSION_LIST = CCorePlugin.PLUGIN_ID + ".formatter.alignment_for_expression_list"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option for alignment of parameters in method declaration @@ -221,7 +240,7 @@ public class DefaultCodeFormatterConstants { // * - default: "0" // * </pre> // */ -// public static final String FORMATTER_BLANK_LINES_AFTER_INCLUDES = CCorePlugin.PLUGIN_ID + ".formatter.blank_lines_after_includes"; //$NON-NLS-1$ +// public static final String FORMATTER_BLANK_LINES_AFTER_INCLUDES = CCorePlugin.PLUGIN_ID + ".formatter.blank_lines_after_includes"; //$NON-NLS-1$ // /** // * <pre> // * FORMATTER / Option to add blank lines at the beginning of the method body @@ -239,7 +258,7 @@ public class DefaultCodeFormatterConstants { // * - default: "0" // * </pre> // */ -// public static final String FORMATTER_BLANK_LINES_BEFORE_FIELD = CCorePlugin.PLUGIN_ID + ".formatter.blank_lines_before_field"; //$NON-NLS-1$ +// public static final String FORMATTER_BLANK_LINES_BEFORE_FIELD = CCorePlugin.PLUGIN_ID + ".formatter.blank_lines_before_field"; //$NON-NLS-1$ // /** // * <pre> // * FORMATTER / Option to add blank lines before the first class body declaration @@ -248,7 +267,7 @@ public class DefaultCodeFormatterConstants { // * - default: "0" // * </pre> // */ -// public static final String FORMATTER_BLANK_LINES_BEFORE_FIRST_CLASS_BODY_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.blank_lines_before_first_class_body_declaration"; //$NON-NLS-1$ +// public static final String FORMATTER_BLANK_LINES_BEFORE_FIRST_CLASS_BODY_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.blank_lines_before_first_class_body_declaration"; //$NON-NLS-1$ // /** // * <pre> // * FORMATTER / Option to add blank lines before #include directive @@ -257,7 +276,7 @@ public class DefaultCodeFormatterConstants { // * - default: "0" // * </pre> // */ -// public static final String FORMATTER_BLANK_LINES_BEFORE_INCLUDES = CCorePlugin.PLUGIN_ID + ".formatter.blank_lines_before_includes"; //$NON-NLS-1$ +// public static final String FORMATTER_BLANK_LINES_BEFORE_INCLUDES = CCorePlugin.PLUGIN_ID + ".formatter.blank_lines_before_includes"; //$NON-NLS-1$ // /** // * <pre> // * FORMATTER / Option to add blank lines before a member type declaration @@ -266,7 +285,7 @@ public class DefaultCodeFormatterConstants { // * - default: "0" // * </pre> // */ -// public static final String FORMATTER_BLANK_LINES_BEFORE_MEMBER_TYPE = CCorePlugin.PLUGIN_ID + ".formatter.blank_lines_before_member_type"; //$NON-NLS-1$ +// public static final String FORMATTER_BLANK_LINES_BEFORE_MEMBER_TYPE = CCorePlugin.PLUGIN_ID + ".formatter.blank_lines_before_member_type"; //$NON-NLS-1$ // /** // * <pre> // * FORMATTER / Option to add blank lines before a method declaration @@ -275,7 +294,7 @@ public class DefaultCodeFormatterConstants { // * - default: "0" // * </pre> // */ -// public static final String FORMATTER_BLANK_LINES_BEFORE_METHOD = CCorePlugin.PLUGIN_ID + ".formatter.blank_lines_before_method"; //$NON-NLS-1$ +// public static final String FORMATTER_BLANK_LINES_BEFORE_METHOD = CCorePlugin.PLUGIN_ID + ".formatter.blank_lines_before_method"; //$NON-NLS-1$ // /** // * <pre> // * FORMATTER / Option to add blank lines before a new chunk @@ -284,7 +303,7 @@ public class DefaultCodeFormatterConstants { // * - default: "0" // * </pre> // */ -// public static final String FORMATTER_BLANK_LINES_BEFORE_NEW_CHUNK = CCorePlugin.PLUGIN_ID + ".formatter.blank_lines_before_new_chunk"; //$NON-NLS-1$ +// public static final String FORMATTER_BLANK_LINES_BEFORE_NEW_CHUNK = CCorePlugin.PLUGIN_ID + ".formatter.blank_lines_before_new_chunk"; //$NON-NLS-1$ // /** // * <pre> // * FORMATTER / Option to add blank lines between type declarations @@ -293,10 +312,10 @@ public class DefaultCodeFormatterConstants { // * - default: "0" // * </pre> // */ -// public static final String FORMATTER_BLANK_LINES_BETWEEN_TYPE_DECLARATIONS = CCorePlugin.PLUGIN_ID + ".formatter.blank_lines_between_type_declarations"; //$NON-NLS-1$ +// public static final String FORMATTER_BLANK_LINES_BETWEEN_TYPE_DECLARATIONS = CCorePlugin.PLUGIN_ID + ".formatter.blank_lines_between_type_declarations"; //$NON-NLS-1$ /** * <pre> - * FORMATTER / Option to position the braces of array initializer + * FORMATTER / Option to position the braces of initializer list * - option id: "org.eclipse.cdt.core.formatter.brace_position_for_array_initializer" * - possible values: { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP } * - default: END_OF_LINE @@ -306,7 +325,7 @@ public class DefaultCodeFormatterConstants { * @see #NEXT_LINE_SHIFTED * @see #NEXT_LINE_ON_WRAP */ - public static final String FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER = CCorePlugin.PLUGIN_ID + ".formatter.brace_position_for_array_initializer"; //$NON-NLS-1$ + public static final String FORMATTER_BRACE_POSITION_FOR_INITIALIZER_LIST = CCorePlugin.PLUGIN_ID + ".formatter.brace_position_for_array_initializer"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to position the braces of a block @@ -319,7 +338,7 @@ public class DefaultCodeFormatterConstants { * @see #NEXT_LINE_SHIFTED * @see #NEXT_LINE_ON_WRAP */ - public static final String FORMATTER_BRACE_POSITION_FOR_BLOCK = CCorePlugin.PLUGIN_ID + ".formatter.brace_position_for_block"; //$NON-NLS-1$ + public static final String FORMATTER_BRACE_POSITION_FOR_BLOCK = CCorePlugin.PLUGIN_ID + ".formatter.brace_position_for_block"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to position the braces of a block in a case statement when the block is the first statement following @@ -333,7 +352,7 @@ public class DefaultCodeFormatterConstants { * @see #NEXT_LINE_SHIFTED * @see #NEXT_LINE_ON_WRAP */ - public static final String FORMATTER_BRACE_POSITION_FOR_BLOCK_IN_CASE = CCorePlugin.PLUGIN_ID + ".formatter.brace_position_for_block_in_case"; //$NON-NLS-1$ + public static final String FORMATTER_BRACE_POSITION_FOR_BLOCK_IN_CASE = CCorePlugin.PLUGIN_ID + ".formatter.brace_position_for_block_in_case"; //$NON-NLS-1$ // /** // * <pre> // * FORMATTER / Option to position the braces of an enum declaration @@ -346,7 +365,7 @@ public class DefaultCodeFormatterConstants { // * @see #NEXT_LINE_SHIFTED // * @see #NEXT_LINE_ON_WRAP // */ -// public static final String FORMATTER_BRACE_POSITION_FOR_ENUM_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.brace_position_for_enum_declaration"; //$NON-NLS-1$ +// public static final String FORMATTER_BRACE_POSITION_FOR_ENUM_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.brace_position_for_enum_declaration"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to position the braces of a method declaration @@ -359,7 +378,7 @@ public class DefaultCodeFormatterConstants { * @see #NEXT_LINE_SHIFTED * @see #NEXT_LINE_ON_WRAP */ - public static final String FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.brace_position_for_method_declaration"; //$NON-NLS-1$ + public static final String FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.brace_position_for_method_declaration"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to position the braces of a switch statement @@ -372,7 +391,7 @@ public class DefaultCodeFormatterConstants { * @see #NEXT_LINE_SHIFTED * @see #NEXT_LINE_ON_WRAP */ - public static final String FORMATTER_BRACE_POSITION_FOR_SWITCH = CCorePlugin.PLUGIN_ID + ".formatter.brace_position_for_switch"; //$NON-NLS-1$ + public static final String FORMATTER_BRACE_POSITION_FOR_SWITCH = CCorePlugin.PLUGIN_ID + ".formatter.brace_position_for_switch"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to position the braces of a type declaration @@ -385,7 +404,7 @@ public class DefaultCodeFormatterConstants { * @see #NEXT_LINE_SHIFTED * @see #NEXT_LINE_ON_WRAP */ - public static final String FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.brace_position_for_type_declaration"; //$NON-NLS-1$ + public static final String FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.brace_position_for_type_declaration"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to position the braces of a namespace declaration @@ -398,7 +417,7 @@ public class DefaultCodeFormatterConstants { * @see #NEXT_LINE_SHIFTED * @see #NEXT_LINE_ON_WRAP */ - public static final String FORMATTER_BRACE_POSITION_FOR_NAMESPACE_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.brace_position_for_namespace_declaration"; //$NON-NLS-1$ + public static final String FORMATTER_BRACE_POSITION_FOR_NAMESPACE_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.brace_position_for_namespace_declaration"; //$NON-NLS-1$ // /** // * <pre> @@ -468,7 +487,7 @@ public class DefaultCodeFormatterConstants { * @see #TRUE * @see #FALSE */ - public static final String FORMATTER_COMPACT_ELSE_IF = CCorePlugin.PLUGIN_ID + ".formatter.compact_else_if"; //$NON-NLS-1$ + public static final String FORMATTER_COMPACT_ELSE_IF = CCorePlugin.PLUGIN_ID + ".formatter.compact_else_if"; //$NON-NLS-1$ /** * <pre> @@ -478,27 +497,16 @@ public class DefaultCodeFormatterConstants { * - default: "2" * </pre> */ - public static final String FORMATTER_CONTINUATION_INDENTATION = CCorePlugin.PLUGIN_ID + ".formatter.continuation_indentation"; //$NON-NLS-1$ + public static final String FORMATTER_CONTINUATION_INDENTATION = CCorePlugin.PLUGIN_ID + ".formatter.continuation_indentation"; //$NON-NLS-1$ /** * <pre> - * FORMATTER / Option to set the continuation indentation inside array initializer + * FORMATTER / Option to set the continuation indentation inside initializer list * - option id: "org.eclipse.cdt.core.formatter.continuation_indentation_for_array_initializer" * - possible values: "<n>", where n is zero or a positive integer * - default: "2" * </pre> */ - public static final String FORMATTER_CONTINUATION_INDENTATION_FOR_ARRAY_INITIALIZER = CCorePlugin.PLUGIN_ID + ".formatter.continuation_indentation_for_array_initializer"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to indent body declarations compare to its enclosing enum declaration header -// * - option id: "org.eclipse.cdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header" -// * - possible values: { TRUE, FALSE } -// * - default: TRUE -// * </pre> -// * @see #TRUE -// * @see #FALSE -// */ -// public static final String FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ENUM_DECLARATION_HEADER = CCorePlugin.PLUGIN_ID + ".formatter.indent_body_declarations_compare_to_enum_declaration_header"; //$NON-NLS-1$ + public static final String FORMATTER_CONTINUATION_INDENTATION_FOR_INITIALIZER_LIST = CCorePlugin.PLUGIN_ID + ".formatter.continuation_indentation_for_array_initializer"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to indent body declarations compare to its enclosing type header @@ -520,7 +528,7 @@ public class DefaultCodeFormatterConstants { * @see #TRUE * @see #FALSE */ - public static final String FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ACCESS_SPECIFIER = CCorePlugin.PLUGIN_ID + ".formatter.indent_body_declarations_compare_to_access_specifier"; //$NON-NLS-1$ + public static final String FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ACCESS_SPECIFIER = CCorePlugin.PLUGIN_ID + ".formatter.indent_body_declarations_compare_to_access_specifier"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to indent body declarations compare to its enclosing namespace header @@ -531,7 +539,7 @@ public class DefaultCodeFormatterConstants { * @see #TRUE * @see #FALSE */ - public static final String FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_NAMESPACE_HEADER = CCorePlugin.PLUGIN_ID + ".formatter.indent_body_declarations_compare_to_namespace_header"; //$NON-NLS-1$ + public static final String FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_NAMESPACE_HEADER = CCorePlugin.PLUGIN_ID + ".formatter.indent_body_declarations_compare_to_namespace_header"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to indent breaks compare to cases @@ -542,7 +550,7 @@ public class DefaultCodeFormatterConstants { * @see #TRUE * @see #FALSE */ - public static final String FORMATTER_INDENT_BREAKS_COMPARE_TO_CASES = CCorePlugin.PLUGIN_ID + ".formatter.indent_breaks_compare_to_cases"; //$NON-NLS-1$ + public static final String FORMATTER_INDENT_BREAKS_COMPARE_TO_CASES = CCorePlugin.PLUGIN_ID + ".formatter.indent_breaks_compare_to_cases"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to indent empty lines @@ -597,7 +605,7 @@ public class DefaultCodeFormatterConstants { * @see #TRUE * @see #FALSE */ - public static final String FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_CASES = CCorePlugin.PLUGIN_ID + ".formatter.indent_switchstatements_compare_to_cases"; //$NON-NLS-1$ + public static final String FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_CASES = CCorePlugin.PLUGIN_ID + ".formatter.indent_switchstatements_compare_to_cases"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to indent switch statements compare to switch @@ -608,7 +616,7 @@ public class DefaultCodeFormatterConstants { * @see #TRUE * @see #FALSE */ - public static final String FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_SWITCH = CCorePlugin.PLUGIN_ID + ".formatter.indent_switchstatements_compare_to_switch"; //$NON-NLS-1$ + public static final String FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_SWITCH = CCorePlugin.PLUGIN_ID + ".formatter.indent_switchstatements_compare_to_switch"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to specify the equivalent number of spaces that represents one indentation @@ -623,7 +631,7 @@ public class DefaultCodeFormatterConstants { public static final String FORMATTER_INDENTATION_SIZE = CCorePlugin.PLUGIN_ID + ".formatter.indentation.size"; //$NON-NLS-1$ /** * <pre> - * FORMATTER / Option to insert a new line after the opening brace in an array initializer + * FORMATTER / Option to insert a new line after the opening brace in an initializer list * - option id: "org.eclipse.cdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer" * - possible values: { INSERT, DO_NOT_INSERT } * - default: DO_NOT_INSERT @@ -631,7 +639,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_NEW_LINE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER = CCorePlugin.PLUGIN_ID + ".formatter.insert_new_line_after_opening_brace_in_array_initializer";//$NON-NLS-1$ + public static final String FORMATTER_INSERT_NEW_LINE_AFTER_OPENING_BRACE_IN_INITIALIZER_LIST = CCorePlugin.PLUGIN_ID + ".formatter.insert_new_line_after_opening_brace_in_array_initializer";//$NON-NLS-1$ /** * <pre> @@ -654,10 +662,10 @@ public class DefaultCodeFormatterConstants { // * @see CCorePlugin#INSERT // * @see CCorePlugin#DO_NOT_INSERT // */ -// public static final String FORMATTER_INSERT_NEW_LINE_BEFORE_CATCH_IN_TRY_STATEMENT = CCorePlugin.PLUGIN_ID + ".formatter.insert_new_line_before_catch_in_try_statement"; //$NON-NLS-1$ +// public static final String FORMATTER_INSERT_NEW_LINE_BEFORE_CATCH_IN_TRY_STATEMENT = CCorePlugin.PLUGIN_ID + ".formatter.insert_new_line_before_catch_in_try_statement"; //$NON-NLS-1$ /** * <pre> - * FORMATTER / Option to insert a new line before the closing brace in an array initializer + * FORMATTER / Option to insert a new line before the closing brace in an initializer list * - option id: "org.eclipse.cdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer" * - possible values: { INSERT, DO_NOT_INSERT } * - default: DO_NOT_INSERT @@ -665,7 +673,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_NEW_LINE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER = CCorePlugin.PLUGIN_ID + ".formatter.insert_new_line_before_closing_brace_in_array_initializer";//$NON-NLS-1$ + public static final String FORMATTER_INSERT_NEW_LINE_BEFORE_CLOSING_BRACE_IN_INITIALIZER_LIST = CCorePlugin.PLUGIN_ID + ".formatter.insert_new_line_before_closing_brace_in_array_initializer";//$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a new line before the else keyword in if statement @@ -676,7 +684,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_NEW_LINE_BEFORE_ELSE_IN_IF_STATEMENT = CCorePlugin.PLUGIN_ID + ".formatter.insert_new_line_before_else_in_if_statement"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_NEW_LINE_BEFORE_ELSE_IN_IF_STATEMENT = CCorePlugin.PLUGIN_ID + ".formatter.insert_new_line_before_else_in_if_statement"; //$NON-NLS-1$ // /** // * <pre> // * FORMATTER / Option to insert a new line before the finally keyword in try statement @@ -687,7 +695,7 @@ public class DefaultCodeFormatterConstants { // * @see CCorePlugin#INSERT // * @see CCorePlugin#DO_NOT_INSERT // */ -// public static final String FORMATTER_INSERT_NEW_LINE_BEFORE_FINALLY_IN_TRY_STATEMENT = CCorePlugin.PLUGIN_ID + ".formatter.insert_new_line_before_finally_in_try_statement"; //$NON-NLS-1$ +// public static final String FORMATTER_INSERT_NEW_LINE_BEFORE_FINALLY_IN_TRY_STATEMENT = CCorePlugin.PLUGIN_ID + ".formatter.insert_new_line_before_finally_in_try_statement"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a new line before while in do statement @@ -698,18 +706,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_NEW_LINE_BEFORE_WHILE_IN_DO_STATEMENT = CCorePlugin.PLUGIN_ID + ".formatter.insert_new_line_before_while_in_do_statement"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a new line in an empty anonymous type declaration -// * - option id: "org.eclipse.cdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ANONYMOUS_TYPE_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_new_line_in_empty_anonymous_type_declaration"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_NEW_LINE_BEFORE_WHILE_IN_DO_STATEMENT = CCorePlugin.PLUGIN_ID + ".formatter.insert_new_line_before_while_in_do_statement"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a new line in an empty block @@ -720,7 +717,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_NEW_LINE_IN_EMPTY_BLOCK = CCorePlugin.PLUGIN_ID + ".formatter.insert_new_line_in_empty_block"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_NEW_LINE_IN_EMPTY_BLOCK = CCorePlugin.PLUGIN_ID + ".formatter.insert_new_line_in_empty_block"; //$NON-NLS-1$ // /** // * <pre> // * FORMATTER / Option to insert a new line in an empty enum declaration @@ -731,7 +728,7 @@ public class DefaultCodeFormatterConstants { // * @see CCorePlugin#INSERT // * @see CCorePlugin#DO_NOT_INSERT // */ -// public static final String FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ENUM_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_new_line_in_empty_enum_declaration"; //$NON-NLS-1$ +// public static final String FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ENUM_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_new_line_in_empty_enum_declaration"; //$NON-NLS-1$ // /** // * <pre> // * FORMATTER / Option to insert a new line in an empty method body @@ -742,7 +739,7 @@ public class DefaultCodeFormatterConstants { // * @see CCorePlugin#INSERT // * @see CCorePlugin#DO_NOT_INSERT // */ -// public static final String FORMATTER_INSERT_NEW_LINE_IN_EMPTY_METHOD_BODY = CCorePlugin.PLUGIN_ID + ".formatter.insert_new_line_in_empty_method_body"; //$NON-NLS-1$ +// public static final String FORMATTER_INSERT_NEW_LINE_IN_EMPTY_METHOD_BODY = CCorePlugin.PLUGIN_ID + ".formatter.insert_new_line_in_empty_method_body"; //$NON-NLS-1$ // /** // * <pre> // * FORMATTER / Option to insert a new line in an empty type declaration @@ -753,62 +750,51 @@ public class DefaultCodeFormatterConstants { // * @see CCorePlugin#INSERT // * @see CCorePlugin#DO_NOT_INSERT // */ -// public static final String FORMATTER_INSERT_NEW_LINE_IN_EMPTY_TYPE_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_new_line_in_empty_type_declaration"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after and in type parameter -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_and_in_type_parameter" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_AND_IN_TYPE_PARAMETER = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_and_in_type_parameter"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after an assignment operator -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_assignment_operator" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_ASSIGNMENT_OPERATOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_assignment_operator"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after a binary operator -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_binary_operator" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_BINARY_OPERATOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_binary_operator"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after the closing angle bracket in type arguments -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_CLOSING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_closing_angle_bracket_in_type_arguments"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after the closing angle bracket in type parameters -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_CLOSING_ANGLE_BRACKET_IN_TYPE_PARAMETERS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_closing_angle_bracket_in_type_parameters"; //$NON-NLS-1$ +// public static final String FORMATTER_INSERT_NEW_LINE_IN_EMPTY_TYPE_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_new_line_in_empty_type_declaration"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space after an assignment operator + * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_assignment_operator" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_AFTER_ASSIGNMENT_OPERATOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_assignment_operator"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space after a binary operator + * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_binary_operator" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_AFTER_BINARY_OPERATOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_binary_operator"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space after the closing angle bracket in template arguments + * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_closing_angle_bracket_in_template_arguments" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_AFTER_CLOSING_ANGLE_BRACKET_IN_TEMPLATE_ARGUMENTS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_closing_angle_bracket_in_template_arguments"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space after the closing angle bracket in template parameters + * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_closing_angle_bracket_in_template_parameters" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_AFTER_CLOSING_ANGLE_BRACKET_IN_TEMPLATE_PARAMETERS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_closing_angle_bracket_in_template_parameters"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space after the closing brace of a block @@ -820,17 +806,28 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#DO_NOT_INSERT */ public static final String FORMATTER_INSERT_SPACE_AFTER_CLOSING_BRACE_IN_BLOCK = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_closing_brace_in_block"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after the closing parenthesis of a cast expression -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_closing_paren_in_cast" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_CLOSING_PAREN_IN_CAST = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_closing_paren_in_cast"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space after the closing parenthesis of a cast expression + * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_closing_paren_in_cast" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_AFTER_CLOSING_PAREN_IN_CAST = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_closing_paren_in_cast"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space after colon in a base clause of a type definition + * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_colon_in_base_clause" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_AFTER_COLON_IN_BASE_CLAUSE = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_colon_in_base_clause"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space after colon in a case statement when a opening brace follows the colon @@ -841,7 +838,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CASE = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_colon_in_case"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CASE = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_colon_in_case"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space after the colon in a conditional expression @@ -853,20 +850,20 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#DO_NOT_INSERT */ public static final String FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CONDITIONAL = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_colon_in_conditional"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after the colon in a labeled statement -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_colon_in_labeled_statement" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_COLON_IN_LABELED_STATEMENT = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_colon_in_labeled_statement"; //$NON-NLS-1$ /** * <pre> - * FORMATTER / Option to insert a space after the comma in an array initializer + * FORMATTER / Option to insert a space after the colon in a labeled statement + * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_colon_in_labeled_statement" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_AFTER_COLON_IN_LABELED_STATEMENT = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_colon_in_labeled_statement"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space after the comma in an initializer list * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_comma_in_array_initializer" * - possible values: { INSERT, DO_NOT_INSERT } * - default: INSERT @@ -874,18 +871,29 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ARRAY_INITIALIZER = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_comma_in_array_initializer"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_INITIALIZER_LIST = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_comma_in_array_initializer"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space after the comma in enum declarations + * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_comma_in_enum_declarations" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ENUM_DECLARATIONS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_comma_in_enum_declarations"; //$NON-NLS-1$ // /** // * <pre> -// * FORMATTER / Option to insert a space after the comma in enum declarations -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_comma_in_enum_declarations" +// * FORMATTER / Option to insert a space after the comma in the increments of a for statement +// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_comma_in_for_increments" // * - possible values: { INSERT, DO_NOT_INSERT } // * - default: INSERT // * </pre> // * @see CCorePlugin#INSERT // * @see CCorePlugin#DO_NOT_INSERT // */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ENUM_DECLARATIONS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_comma_in_enum_declarations"; //$NON-NLS-1$ +// public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_FOR_INCREMENTS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_comma_in_for_increments"; //$NON-NLS-1$ // /** // * <pre> // * FORMATTER / Option to insert a space after the comma in the initializations of a for statement @@ -930,72 +938,61 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#DO_NOT_INSERT */ public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_INVOCATION_ARGUMENTS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_comma_in_method_invocation_arguments"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after the comma in multiple field declaration -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_MULTIPLE_FIELD_DECLARATIONS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_comma_in_multiple_field_declarations"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after the comma in multiple local declaration -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_MULTIPLE_LOCAL_DECLARATIONS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_comma_in_multiple_local_declarations"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after the comma in parameterized type reference -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_PARAMETERIZED_TYPE_REFERENCE = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_comma_in_parameterized_type_reference"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after the comma in base type names of a type header -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_comma_in_base_types" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_BASE_TYPES = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_comma_in_base_types"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after the comma in type arguments -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_comma_in_type_arguments" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_TYPE_ARGUMENTS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_comma_in_type_arguments"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after the comma in type parameters -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_comma_in_type_parameters" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_TYPE_PARAMETERS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_comma_in_type_parameters"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space after the comma in a declarator list + * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_comma_in_declarator_list" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_DECLARATOR_LIST = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_comma_in_declarator_list"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space after the comma in expression list + * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_comma_in_expression_list" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_EXPRESSION_LIST = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_comma_in_expression_list"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space after the comma in base type names of a type header + * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_comma_in_base_types" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_BASE_TYPES = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_comma_in_base_types"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space after the comma in template arguments + * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_comma_in_template_arguments" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_TEMPLATE_ARGUMENTS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_comma_in_template_arguments"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space after the comma in template parameters + * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_comma_in_template_parameters" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_TEMPLATE_PARAMETERS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_comma_in_template_parameters"; //$NON-NLS-1$ // /** // * <pre> // * FORMATTER / Option to insert a space after ellipsis @@ -1006,43 +1003,32 @@ public class DefaultCodeFormatterConstants { // * @see CCorePlugin#INSERT // * @see CCorePlugin#DO_NOT_INSERT // */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_ELLIPSIS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_ellipsis"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after the opening angle bracket in parameterized type reference -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference";//$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after the opening angle bracket in type arguments -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_opening_angle_bracket_in_type_arguments";//$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after the opening angle bracket in type parameters -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_TYPE_PARAMETERS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_opening_angle_bracket_in_type_parameters";//$NON-NLS-1$ +// public static final String FORMATTER_INSERT_SPACE_AFTER_ELLIPSIS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_ellipsis"; //$NON-NLS-1$ /** * <pre> - * FORMATTER / Option to insert a space after the opening brace in an array initializer + * FORMATTER / Option to insert a space after the opening angle bracket in template arguments + * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_opening_angle_bracket_in_template_arguments" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_TEMPLATE_ARGUMENTS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_opening_angle_bracket_in_template_arguments";//$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space after the opening angle bracket in template parameters + * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_opening_angle_bracket_in_template_parameters" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_TEMPLATE_PARAMETERS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_opening_angle_bracket_in_template_parameters";//$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space after the opening brace in an initializer list * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_opening_brace_in_array_initializer" * - possible values: { INSERT, DO_NOT_INSERT } * - default: DO_NOT_INSERT @@ -1050,51 +1036,40 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_opening_brace_in_array_initializer"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after the opening bracket inside an array allocation expression -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_opening_bracket_in_array_allocation_expression";//$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after the opening bracket inside an array reference -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_opening_bracket_in_array_reference" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACKET_IN_ARRAY_REFERENCE = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_opening_bracket_in_array_reference";//$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after the opening parenthesis in a cast expression -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_cast" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CAST = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_opening_paren_in_cast"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after the opening parenthesis in a catch -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_catch" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CATCH = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_opening_paren_in_catch"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACE_IN_INITIALIZER_LIST = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_opening_brace_in_array_initializer"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space after the opening bracket + * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_opening_bracket" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACKET = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_opening_bracket";//$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space after the opening parenthesis in a cast expression + * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_cast" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CAST = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_opening_paren_in_cast"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space after the opening parenthesis in a catch + * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_catch" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CATCH = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_opening_paren_in_catch"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space after the opening parenthesis in a for statement @@ -1127,7 +1102,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_opening_paren_in_method_declaration"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_opening_paren_in_method_declaration"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space after the opening parenthesis in a method invocation @@ -1139,17 +1114,17 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#DO_NOT_INSERT */ public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_INVOCATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_opening_paren_in_method_invocation"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after the opening parenthesis in a parenthesized expression -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_PARENTHESIZED_EXPRESSION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_opening_paren_in_parenthesized_expression"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space after the opening parenthesis in a parenthesized expression + * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_PARENTHESIZED_EXPRESSION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_opening_paren_in_parenthesized_expression"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space after the opening parenthesis in a switch statement @@ -1172,28 +1147,28 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#DO_NOT_INSERT */ public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_WHILE = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_opening_paren_in_while"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after a postfix operator -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_postfix_operator" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_POSTFIX_OPERATOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_postfix_operator"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after a prefix operator -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_prefix_operator" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_PREFIX_OPERATOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_prefix_operator"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space after a postfix operator + * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_postfix_operator" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_AFTER_POSTFIX_OPERATOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_postfix_operator"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space after a prefix operator + * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_prefix_operator" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_AFTER_PREFIX_OPERATOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_prefix_operator"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space after question mark in a conditional expression @@ -1216,75 +1191,64 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#DO_NOT_INSERT */ public static final String FORMATTER_INSERT_SPACE_AFTER_SEMICOLON_IN_FOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_semicolon_in_for"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space after an unary operator -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_unary_operator" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_AFTER_UNARY_OPERATOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_unary_operator"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before an assignment operator -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_assignment_operator" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_ASSIGNMENT_OPERATOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_assignment_operator"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before an binary operator -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_binary_operator" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_BINARY_OPERATOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_binary_operator"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before the closing angle bracket in parameterized type reference -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before the closing angle bracket in type arguments -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_angle_bracket_in_type_arguments"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before the closing angle bracket in type parameters -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_TYPE_PARAMETERS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_angle_bracket_in_type_parameters"; //$NON-NLS-1$ /** * <pre> - * FORMATTER / Option to insert a space before the closing brace in an array initializer + * FORMATTER / Option to insert a space after an unary operator + * - option id: "org.eclipse.cdt.core.formatter.insert_space_after_unary_operator" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_AFTER_UNARY_OPERATOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_after_unary_operator"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before an assignment operator + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_assignment_operator" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_ASSIGNMENT_OPERATOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_assignment_operator"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before an binary operator + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_binary_operator" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_BINARY_OPERATOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_binary_operator"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before the closing angle bracket in template arguments + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_closing_angle_bracket_in_template_arguments" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_TEMPLATE_ARGUMENTS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_angle_bracket_in_template_arguments"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before the closing angle bracket in template parameters + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_closing_angle_bracket_in_template_parameters" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_TEMPLATE_PARAMETERS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_angle_bracket_in_template_parameters"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before the closing brace in an initializer list * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_closing_brace_in_array_initializer" * - possible values: { INSERT, DO_NOT_INSERT } * - default: DO_NOT_INSERT @@ -1292,51 +1256,40 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_brace_in_array_initializer"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before the closing bracket in an array allocation expression -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_bracket_in_array_allocation_expression";//$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before the closing bracket in an array reference -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_closing_bracket_in_array_reference" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACKET_IN_ARRAY_REFERENCE = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_bracket_in_array_reference";//$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before the closing parenthesis in a cast expression -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_cast" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CAST = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_paren_in_cast"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before the closing parenthesis in a catch -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_catch" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CATCH = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_paren_in_catch"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACE_IN_INITIALIZER_LIST = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_brace_in_array_initializer"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before the closing bracket + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_closing_bracket" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACKET = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_bracket";//$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before the closing parenthesis in a cast expression + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_cast" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CAST = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_paren_in_cast"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before the closing parenthesis in a catch + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_catch" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CATCH = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_paren_in_catch"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before the closing parenthesis in a for statement @@ -1347,7 +1300,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_FOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_paren_in_for"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_FOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_paren_in_for"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before the closing parenthesis in an if statement @@ -1358,7 +1311,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_IF = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_paren_in_if"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_IF = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_paren_in_if"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before the closing parenthesis in a method declaration @@ -1369,7 +1322,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_paren_in_method_declaration"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_paren_in_method_declaration"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before the closing parenthesis in a method invocation @@ -1381,17 +1334,17 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#DO_NOT_INSERT */ public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_INVOCATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_paren_in_method_invocation"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before the closing parenthesis in a parenthesized expression -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_PARENTHESIZED_EXPRESSION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_paren_in_parenthesized_expression"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before the closing parenthesis in a parenthesized expression + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_PARENTHESIZED_EXPRESSION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_paren_in_parenthesized_expression"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before the closing parenthesis in a switch statement @@ -1402,7 +1355,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SWITCH = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_paren_in_switch"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SWITCH = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_paren_in_switch"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before the closing parenthesis in a while statement @@ -1413,7 +1366,18 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_WHILE = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_paren_in_while"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_WHILE = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_closing_paren_in_while"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before colon in a base clause of a type definition + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_colon_in_base_clause" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_BASE_CLAUSE = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_colon_in_base_clause"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before colon in a case statement @@ -1424,7 +1388,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CASE = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_colon_in_case"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CASE = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_colon_in_case"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before colon in a conditional expression @@ -1435,7 +1399,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CONDITIONAL = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_colon_in_conditional"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CONDITIONAL = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_colon_in_conditional"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before colon in a default statement @@ -1446,18 +1410,18 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_DEFAULT = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_colon_in_default"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before colon in a labeled statement -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_colon_in_labeled_statement" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_LABELED_STATEMENT = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_colon_in_labeled_statement"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_DEFAULT = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_colon_in_default"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before colon in a labeled statement + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_colon_in_labeled_statement" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_LABELED_STATEMENT = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_colon_in_labeled_statement"; //$NON-NLS-1$ // /** // * <pre> // * FORMATTER / Option to insert a space before comma in an allocation expression @@ -1468,10 +1432,10 @@ public class DefaultCodeFormatterConstants { // * @see CCorePlugin#INSERT // * @see CCorePlugin#DO_NOT_INSERT // */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ALLOCATION_EXPRESSION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_allocation_expression"; //$NON-NLS-1$ +// public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ALLOCATION_EXPRESSION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_allocation_expression"; //$NON-NLS-1$ /** * <pre> - * FORMATTER / Option to insert a space before comma in an array initializer + * FORMATTER / Option to insert a space before comma in an initializer list * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_comma_in_array_initializer" * - possible values: { INSERT, DO_NOT_INSERT } * - default: DO_NOT_INSERT @@ -1479,18 +1443,29 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ARRAY_INITIALIZER = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_array_initializer"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_INITIALIZER_LIST = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_array_initializer"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before comma in enum declarations + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_comma_in_enum_declarations" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ENUM_DECLARATIONS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_enum_declarations"; //$NON-NLS-1$ // /** // * <pre> -// * FORMATTER / Option to insert a space before comma in enum declarations -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_comma_in_enum_declarations" +// * FORMATTER / Option to insert a space before comma in the increments of a for statement +// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_comma_in_for_increments" // * - possible values: { INSERT, DO_NOT_INSERT } // * - default: DO_NOT_INSERT // * </pre> // * @see CCorePlugin#INSERT // * @see CCorePlugin#DO_NOT_INSERT // */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ENUM_DECLARATIONS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_enum_declarations"; //$NON-NLS-1$ +// public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_FOR_INCREMENTS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_for_increments"; //$NON-NLS-1$ // /** // * <pre> // * FORMATTER / Option to insert a space before comma in the initializations of a for statement @@ -1501,7 +1476,7 @@ public class DefaultCodeFormatterConstants { // * @see CCorePlugin#INSERT // * @see CCorePlugin#DO_NOT_INSERT // */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_FOR_INITS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_for_inits"; //$NON-NLS-1$ +// public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_FOR_INITS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_for_inits"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before comma in the parameters of a method declaration @@ -1512,7 +1487,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_PARAMETERS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_method_declaration_parameters"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_PARAMETERS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_method_declaration_parameters"; //$NON-NLS-1$ // /** // * <pre> // * FORMATTER / Option to insert a space before comma in the exception names of the throws clause of a method declaration @@ -1523,7 +1498,7 @@ public class DefaultCodeFormatterConstants { // * @see CCorePlugin#INSERT // * @see CCorePlugin#DO_NOT_INSERT // */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_THROWS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_method_declaration_throws"; //$NON-NLS-1$ +// public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_THROWS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_method_declaration_throws"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before comma in the arguments of a method invocation @@ -1534,73 +1509,62 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_INVOCATION_ARGUMENTS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_method_invocation_arguments"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before comma in a multiple field declaration -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_MULTIPLE_FIELD_DECLARATIONS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_multiple_field_declarations"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before comma in a multiple local declaration -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_MULTIPLE_LOCAL_DECLARATIONS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_multiple_local_declarations"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before comma in parameterized type reference -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_PARAMETERIZED_TYPE_REFERENCE = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_parameterized_type_reference"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before comma in the base type names in a type header -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_comma_in_base_types" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_BASE_TYPES = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_base_types"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before comma in type arguments -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_comma_in_type_arguments" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_TYPE_ARGUMENTS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_type_arguments"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before comma in type parameters -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_comma_in_type_parameters" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_TYPE_PARAMETERS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_type_parameters"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_INVOCATION_ARGUMENTS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_method_invocation_arguments"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before comma in a declarator list + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_comma_in_declarator_list" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_DECLARATOR_LIST = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_declarator_list"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before comma in a expression list + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_comma_in_expression_list" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_EXPRESSION_LIST = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_expression_list"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before comma in the base type names in a type header + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_comma_in_base_types" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_BASE_TYPES = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_base_types"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before comma in template arguments + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_comma_in_template_arguments" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_TEMPLATE_ARGUMENTS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_template_arguments"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before comma in template parameters + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_comma_in_template_parameters" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_TEMPLATE_PARAMETERS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_comma_in_template_parameters"; //$NON-NLS-1$ // /** // * <pre> // * FORMATTER / Option to insert a space before ellipsis @@ -1611,54 +1575,32 @@ public class DefaultCodeFormatterConstants { // * @see CCorePlugin#INSERT // * @see CCorePlugin#DO_NOT_INSERT // */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_ELLIPSIS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_ellipsis"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before the opening angle bracket in parameterized type reference -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before the opening angle bracket in type arguments -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_angle_bracket_in_type_arguments"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before the opening angle bracket in type parameters -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_TYPE_PARAMETERS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_angle_bracket_in_type_parameters"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before the opening brace in an anonymous type declaration -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ANONYMOUS_TYPE_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_brace_in_anonymous_type_declaration"; //$NON-NLS-1$ +// public static final String FORMATTER_INSERT_SPACE_BEFORE_ELLIPSIS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_ellipsis"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before the opening angle bracket in template arguments + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_angle_bracket_in_template_arguments" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_TEMPLATE_ARGUMENTS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_angle_bracket_in_template_arguments"; //$NON-NLS-1$ /** * <pre> - * FORMATTER / Option to insert a space before the opening brace in an array initializer + * FORMATTER / Option to insert a space before the opening angle bracket in template parameters + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_angle_bracket_in_template_parameters" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_TEMPLATE_PARAMETERS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_angle_bracket_in_template_parameters"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before the opening brace in an initializer list * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_array_initializer" * - possible values: { INSERT, DO_NOT_INSERT } * - default: DO_NOT_INSERT @@ -1666,7 +1608,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ARRAY_INITIALIZER = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_brace_in_array_initializer"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_INITIALIZER_LIST = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_brace_in_array_initializer"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before the opening brace in a block @@ -1677,18 +1619,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_BLOCK = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_brace_in_block"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before the opening brace in an enum declaration -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ENUM_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_brace_in_enum_declaration"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_BLOCK = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_brace_in_block"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before the opening brace in a method declaration @@ -1699,7 +1630,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_METHOD_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_brace_in_method_declaration"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_METHOD_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_brace_in_method_declaration"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before the opening brace in a switch statement @@ -1710,7 +1641,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_SWITCH = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_brace_in_switch"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_SWITCH = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_brace_in_switch"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before the opening brace in a type declaration @@ -1721,7 +1652,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_TYPE_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_brace_in_type_declaration"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_TYPE_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_brace_in_type_declaration"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before the opening brace in a namespace declaration @@ -1732,51 +1663,29 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_NAMESPACE_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_brace_in_namespace_declaration"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before the opening bracket in an array allocation expression -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_bracket_in_array_allocation_expression";//$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before the opening bracket in an array reference -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_bracket_in_array_reference" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_REFERENCE = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_bracket_in_array_reference";//$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before the opening bracket in an array type reference -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_TYPE_REFERENCE = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_bracket_in_array_type_reference"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before the opening parenthesis in a catch -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_catch" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_CATCH = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_paren_in_catch"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_NAMESPACE_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_brace_in_namespace_declaration"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before the opening bracket + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_bracket" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_bracket";//$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before the opening parenthesis in a catch + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_catch" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_CATCH = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_paren_in_catch"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before the opening parenthesis in a for statement @@ -1787,7 +1696,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_FOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_paren_in_for"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_FOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_paren_in_for"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before the opening parenthesis in an if statement @@ -1798,7 +1707,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_IF = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_paren_in_if"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_IF = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_paren_in_if"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before the opening parenthesis in a method declaration @@ -1809,7 +1718,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_paren_in_method_declaration"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_paren_in_method_declaration"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before the opening parenthesis in a method invocation @@ -1820,18 +1729,18 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_INVOCATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_paren_in_method_invocation"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before the opening parenthesis in a parenthesized expression -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_PARENTHESIZED_EXPRESSION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_paren_in_parenthesized_expression"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_INVOCATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_paren_in_method_invocation"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before the opening parenthesis in a parenthesized expression + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_PARENTHESIZED_EXPRESSION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_paren_in_parenthesized_expression"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before the opening parenthesis in a switch statement @@ -1842,7 +1751,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SWITCH = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_paren_in_switch"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SWITCH = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_paren_in_switch"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before the opening parenthesis in a while statement @@ -1853,7 +1762,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_WHILE = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_paren_in_while"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_WHILE = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_opening_paren_in_while"; //$NON-NLS-1$ // /** // * <pre> // * FORMATTER / Option to insert a space before parenthesized expression in return statement @@ -1865,29 +1774,29 @@ public class DefaultCodeFormatterConstants { // * @see CCorePlugin#INSERT // * @see CCorePlugin#DO_NOT_INSERT // */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_PARENTHESIZED_EXPRESSION_IN_RETURN = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_parenthesized_expression_in_return"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before a postfix operator -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_postfix_operator" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_POSTFIX_OPERATOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_postfix_operator"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before a prefix operator -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_prefix_operator" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_PREFIX_OPERATOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_prefix_operator"; //$NON-NLS-1$ +// public static final String FORMATTER_INSERT_SPACE_BEFORE_PARENTHESIZED_EXPRESSION_IN_RETURN = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_parenthesized_expression_in_return"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before a postfix operator + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_postfix_operator" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_POSTFIX_OPERATOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_postfix_operator"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before a prefix operator + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_prefix_operator" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_PREFIX_OPERATOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_prefix_operator"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before question mark in a conditional expression @@ -1898,7 +1807,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_QUESTION_IN_CONDITIONAL = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_question_in_conditional"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_QUESTION_IN_CONDITIONAL = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_question_in_conditional"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before semicolon @@ -1909,7 +1818,7 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_semicolon"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_semicolon"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space before semicolon in for statement @@ -1920,33 +1829,21 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON_IN_FOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_semicolon_in_for"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space before unary operator -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_unary_operator" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BEFORE_UNARY_OPERATOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_unary_operator"; //$NON-NLS-1$ -// -// /** -// * <pre> -// * FORMATTER / Option to insert a space between brackets in an array type reference -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_between_brackets_in_array_type_reference" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BETWEEN_BRACKETS_IN_ARRAY_TYPE_REFERENCE = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_between_brackets_in_array_type_reference"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON_IN_FOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_semicolon_in_for"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space before unary operator + * - option id: "org.eclipse.cdt.core.formatter.insert_space_before_unary_operator" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BEFORE_UNARY_OPERATOR = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_before_unary_operator"; //$NON-NLS-1$ /** * <pre> - * FORMATTER / Option to insert a space between empty braces in an array initializer + * FORMATTER / Option to insert a space between empty braces in an initializer list * - option id: "org.eclipse.cdt.core.formatter.insert_space_between_empty_braces_in_array_initializer" * - possible values: { INSERT, DO_NOT_INSERT } * - default: DO_NOT_INSERT @@ -1954,18 +1851,18 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACES_IN_ARRAY_INITIALIZER = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_between_empty_braces_in_array_initializer"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space between empty brackets in an array allocation expression -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACKETS_IN_ARRAY_ALLOCATION_EXPRESSION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_between_empty_brackets_in_array_allocation_expression"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACES_IN_INITIALIZER_LIST = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_between_empty_braces_in_array_initializer"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space between empty brackets + * - option id: "org.eclipse.cdt.core.formatter.insert_space_between_empty_brackets" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACKETS = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_between_empty_brackets"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to insert a space between empty parenthesis in a method declaration @@ -1976,18 +1873,18 @@ public class DefaultCodeFormatterConstants { * @see CCorePlugin#INSERT * @see CCorePlugin#DO_NOT_INSERT */ - public static final String FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_between_empty_parens_in_method_declaration"; //$NON-NLS-1$ -// /** -// * <pre> -// * FORMATTER / Option to insert a space between empty parenthesis in a method invocation -// * - option id: "org.eclipse.cdt.core.formatter.insert_space_between_empty_parens_in_method_invocation" -// * - possible values: { INSERT, DO_NOT_INSERT } -// * - default: DO_NOT_INSERT -// * </pre> -// * @see CCorePlugin#INSERT -// * @see CCorePlugin#DO_NOT_INSERT -// */ -// public static final String FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_INVOCATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_between_empty_parens_in_method_invocation"; //$NON-NLS-1$ + public static final String FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_DECLARATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_between_empty_parens_in_method_declaration"; //$NON-NLS-1$ + /** + * <pre> + * FORMATTER / Option to insert a space between empty parenthesis in a method invocation + * - option id: "org.eclipse.cdt.core.formatter.insert_space_between_empty_parens_in_method_invocation" + * - possible values: { INSERT, DO_NOT_INSERT } + * - default: DO_NOT_INSERT + * </pre> + * @see CCorePlugin#INSERT + * @see CCorePlugin#DO_NOT_INSERT + */ + public static final String FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_INVOCATION = CCorePlugin.PLUGIN_ID + ".formatter.insert_space_between_empty_parens_in_method_invocation"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to keep else statement on the same line @@ -2001,7 +1898,7 @@ public class DefaultCodeFormatterConstants { public static final String FORMATTER_KEEP_ELSE_STATEMENT_ON_SAME_LINE = CCorePlugin.PLUGIN_ID + ".formatter.keep_else_statement_on_same_line"; //$NON-NLS-1$ /** * <pre> - * FORMATTER / Option to keep empty array initializer one one line + * FORMATTER / Option to keep empty initializer list one one line * - option id: "org.eclipse.cdt.core.formatter.keep_empty_array_initializer_on_one_line" * - possible values: { TRUE, FALSE } * - default: FALSE @@ -2009,7 +1906,7 @@ public class DefaultCodeFormatterConstants { * @see #TRUE * @see #FALSE */ - public static final String FORMATTER_KEEP_EMPTY_ARRAY_INITIALIZER_ON_ONE_LINE = CCorePlugin.PLUGIN_ID + ".formatter.keep_empty_array_initializer_on_one_line"; //$NON-NLS-1$ + public static final String FORMATTER_KEEP_EMPTY_INITIALIZER_LIST_ON_ONE_LINE = CCorePlugin.PLUGIN_ID + ".formatter.keep_empty_array_initializer_on_one_line"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to keep guardian clause on one line @@ -2020,7 +1917,7 @@ public class DefaultCodeFormatterConstants { * @see #TRUE * @see #FALSE */ - public static final String FORMATTER_KEEP_GUARDIAN_CLAUSE_ON_ONE_LINE = CCorePlugin.PLUGIN_ID + ".formatter.format_guardian_clause_on_one_line"; //$NON-NLS-1$ + public static final String FORMATTER_KEEP_GUARDIAN_CLAUSE_ON_ONE_LINE = CCorePlugin.PLUGIN_ID + ".formatter.format_guardian_clause_on_one_line"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to keep simple if statement on the one line @@ -2061,7 +1958,7 @@ public class DefaultCodeFormatterConstants { * - default: "0" * </pre> */ - public static final String FORMATTER_NUMBER_OF_EMPTY_LINES_TO_PRESERVE = CCorePlugin.PLUGIN_ID + ".formatter.number_of_empty_lines_to_preserve"; //$NON-NLS-1$ + public static final String FORMATTER_NUMBER_OF_EMPTY_LINES_TO_PRESERVE = CCorePlugin.PLUGIN_ID + ".formatter.number_of_empty_lines_to_preserve"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to specify whether or not empty statement should be on a new line @@ -2072,7 +1969,7 @@ public class DefaultCodeFormatterConstants { * @see #TRUE * @see #FALSE */ - public static final String FORMATTER_PUT_EMPTY_STATEMENT_ON_NEW_LINE = CCorePlugin.PLUGIN_ID + ".formatter.put_empty_statement_on_new_line"; //$NON-NLS-1$ + public static final String FORMATTER_PUT_EMPTY_STATEMENT_ON_NEW_LINE = CCorePlugin.PLUGIN_ID + ".formatter.put_empty_statement_on_new_line"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to specify the tabulation size @@ -2143,8 +2040,7 @@ public class DefaultCodeFormatterConstants { * FORMATTER / Value to set a brace location at the start of the next line with * the right indentation. * </pre> - * @see #FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION - * @see #FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER + * @see #FORMATTER_BRACE_POSITION_FOR_INITIALIZER_LIST * @see #FORMATTER_BRACE_POSITION_FOR_BLOCK * @see #FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION * @see #FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION @@ -2157,8 +2053,7 @@ public class DefaultCodeFormatterConstants { * FORMATTER / Value to set a brace location at the start of the next line if a wrapping * occured. * </pre> - * @see #FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION - * @see #FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER + * @see #FORMATTER_BRACE_POSITION_FOR_INITIALIZER_LIST * @see #FORMATTER_BRACE_POSITION_FOR_BLOCK * @see #FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION * @see #FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION @@ -2171,15 +2066,14 @@ public class DefaultCodeFormatterConstants { * FORMATTER / Value to set a brace location at the start of the next line with * an extra indentation. * </pre> - * @see #FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION - * @see #FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER + * @see #FORMATTER_BRACE_POSITION_FOR_INITIALIZER_LIST * @see #FORMATTER_BRACE_POSITION_FOR_BLOCK * @see #FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION * @see #FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION * @see #FORMATTER_BRACE_POSITION_FOR_SWITCH * @see #FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION */ - public static final String NEXT_LINE_SHIFTED = "next_line_shifted"; //$NON-NLS-1$ + public static final String NEXT_LINE_SHIFTED = "next_line_shifted"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Value to set an option to true. |