org.eclipse.cdt.core.formatter
Class DefaultCodeFormatterConstants

java.lang.Object
  extended by org.eclipse.cdt.core.formatter.DefaultCodeFormatterConstants

public class DefaultCodeFormatterConstants
extends java.lang.Object

Constants used to set up the options of the code formatter.

This class is not intended to be instantiated or subclassed by clients.

Since:
4.0

Field Summary
static java.lang.String END_OF_LINE
           FORMATTER / Value to set a brace location at the end of a line.
static java.lang.String FALSE
           FORMATTER / Value to set an option to false.
static java.lang.String FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_METHOD_INVOCATION
           FORMATTER / Option for alignment of arguments in method invocation - option id: "org.eclipse.cdt.core.formatter.alignment_for_arguments_in_method_invocation" - possible values: values returned by createAlignmentValue(boolean, int, int) call - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
static java.lang.String FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION
           FORMATTER / Option for alignment of conditional expression - option id: "org.eclipse.cdt.core.formatter.alignment_for_conditional_expression" - possible values: values returned by createAlignmentValue(boolean, int, int) call - default: createAlignmentValue(false, WRAP_ONE_PER_LINE, INDENT_DEFAULT)
static java.lang.String FORMATTER_ALIGNMENT_FOR_EXPRESSIONS_IN_ARRAY_INITIALIZER
           FORMATTER / Option for alignment of expressions in array initializer - option id: "org.eclipse.cdt.core.formatter.alignment_for_expressions_in_array_initializer" - possible values: values returned by createAlignmentValue(boolean, int, int) call - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
static java.lang.String FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_METHOD_DECLARATION
           FORMATTER / Option for alignment of parameters in method declaration - option id: "org.eclipse.cdt.core.formatter.alignment_for_parameters_in_method_declaration" - possible values: values returned by createAlignmentValue(boolean, int, int) call - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
static java.lang.String FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER
           FORMATTER / Option to position the braces of array initializer - 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
static java.lang.String FORMATTER_BRACE_POSITION_FOR_BLOCK
           FORMATTER / Option to position the braces of a block - option id: "org.eclipse.cdt.core.formatter.brace_position_for_block" - possible values: { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP } - default: END_OF_LINE
static java.lang.String FORMATTER_BRACE_POSITION_FOR_BLOCK_IN_CASE
           FORMATTER / Option to position the braces of a block in a case statement when the block is the first statement following the case - option id: "org.eclipse.cdt.core.formatter.brace_position_for_block_in_case" - possible values: { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP } - default: END_OF_LINE
static java.lang.String FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION
           FORMATTER / Option to position the braces of a method declaration - option id: "org.eclipse.cdt.core.formatter.brace_position_for_method_declaration" - possible values: { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP } - default: END_OF_LINE
static java.lang.String FORMATTER_BRACE_POSITION_FOR_NAMESPACE_DECLARATION
           FORMATTER / Option to position the braces of a namespace declaration - option id: "org.eclipse.cdt.core.formatter.brace_position_for_namespace_declaration" - possible values: { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP } - default: END_OF_LINE
static java.lang.String FORMATTER_BRACE_POSITION_FOR_SWITCH
           FORMATTER / Option to position the braces of a switch statement - option id: "org.eclipse.cdt.core.formatter.brace_position_for_switch" - possible values: { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP } - default: END_OF_LINE
static java.lang.String FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION
           FORMATTER / Option to position the braces of a type declaration - option id: "org.eclipse.cdt.core.formatter.brace_position_for_type_declaration" - possible values: { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP } - default: END_OF_LINE
static java.lang.String FORMATTER_COMPACT_ELSE_IF
           FORMATTER / Option to compact else/if - option id: "org.eclipse.cdt.core.formatter.compact_else_if" - possible values: { TRUE, FALSE } - default: TRUE
static java.lang.String FORMATTER_CONTINUATION_INDENTATION
           FORMATTER / Option to set the continuation indentation - option id: "org.eclipse.cdt.core.formatter.continuation_indentation" - possible values: "<n>", where n is zero or a positive integer - default: "2"
static java.lang.String FORMATTER_CONTINUATION_INDENTATION_FOR_ARRAY_INITIALIZER
           FORMATTER / Option to set the continuation indentation inside array initializer - 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"
static java.lang.String FORMATTER_CURRENT_FILE
           FORMATTER / Option for the current file - option id: "org.eclipse.cdt.core.formatter.current_file" - possible values: object of class IFile or null - default: null
static java.lang.String FORMATTER_INDENT_ACCESS_SPECIFIER_COMPARE_TO_TYPE_HEADER
           FORMATTER / Option to indent body declarations compare to its enclosing type header - option id: "org.eclipse.cdt.core.formatter.indent_access_specifier_compare_to_type_header" - possible values: { TRUE, FALSE } - default: FALSE
static java.lang.String FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ACCESS_SPECIFIER
           FORMATTER / Option to indent body declarations compare to access specifiers (visibility labels) - option id: "org.eclipse.cdt.core.formatter.indent_body_declarations_compare_to_access_specifier" - possible values: { TRUE, FALSE } - default: TRUE
static java.lang.String FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_NAMESPACE_HEADER
           FORMATTER / Option to indent body declarations compare to its enclosing namespace header - option id: "org.eclipse.cdt.core.formatter.indent_body_declarations_compare_to_namespace_header" - possible values: { TRUE, FALSE } - default: TRUE
static java.lang.String FORMATTER_INDENT_BREAKS_COMPARE_TO_CASES
           FORMATTER / Option to indent breaks compare to cases - option id: "org.eclipse.cdt.core.formatter.indent_breaks_compare_to_cases" - possible values: { TRUE, FALSE } - default: TRUE
static java.lang.String FORMATTER_INDENT_EMPTY_LINES
           FORMATTER / Option to indent empty lines - option id: "org.eclipse.cdt.core.formatter.indent_empty_lines" - possible values: { TRUE, FALSE } - default: FALSE
static java.lang.String FORMATTER_INDENT_INSIDE_LINE_COMMENTS
           FORMATTER / Option to indent inside line comments at column 0 - option id: "org.eclipse.cdt.core.formatter.indent_inside_line_comments" - possible values: { TRUE, FALSE } - default: FALSE
static java.lang.String FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BLOCK
           FORMATTER / Option to indent statements inside a block - option id: "org.eclipse.cdt.core.formatter.indent_statements_compare_to_block" - possible values: { TRUE, FALSE } - default: TRUE
static java.lang.String FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BODY
           FORMATTER / Option to indent statements inside the body of a method or a constructor - option id: "org.eclipse.cdt.core.formatter.indent_statements_compare_to_body" - possible values: { TRUE, FALSE } - default: TRUE
static java.lang.String FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_CASES
           FORMATTER / Option to indent switch statements compare to cases - option id: "org.eclipse.cdt.core.formatter.indent_switchstatements_compare_to_cases" - possible values: { TRUE, FALSE } - default: TRUE
static java.lang.String FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_SWITCH
           FORMATTER / Option to indent switch statements compare to switch - option id: "org.eclipse.cdt.core.formatter.indent_switchstatements_compare_to_switch" - possible values: { TRUE, FALSE } - default: TRUE
static java.lang.String FORMATTER_INDENTATION_SIZE
           FORMATTER / Option to specify the equivalent number of spaces that represents one indentation - option id: "org.eclipse.cdt.core.formatter.indentation.size" - possible values: "<n>", where n is zero or a positive integer - default: "4" This option is used only if the tab char is set to MIXED.
static java.lang.String FORMATTER_INSERT_NEW_LINE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER
           FORMATTER / Option to insert a new line after the opening brace in an array initializer - 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
static java.lang.String FORMATTER_INSERT_NEW_LINE_AT_END_OF_FILE_IF_MISSING
           FORMATTER / Option to insert a new line at the end of the current file if missing - option id: "org.eclipse.cdt.core.formatter.insert_new_line_at_end_of_file_if_missing" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_NEW_LINE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER
           FORMATTER / Option to insert a new line before the closing brace in an array initializer - 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
static java.lang.String FORMATTER_INSERT_NEW_LINE_BEFORE_ELSE_IN_IF_STATEMENT
           FORMATTER / Option to insert a new line before the else keyword in if statement - option id: "org.eclipse.cdt.core.formatter.insert_new_line_before_else_in_if_statement" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_NEW_LINE_BEFORE_WHILE_IN_DO_STATEMENT
           FORMATTER / Option to insert a new line before while in do statement - option id: "org.eclipse.cdt.core.formatter.insert_new_line_before_while_in_do_statement" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_NEW_LINE_IN_EMPTY_BLOCK
           FORMATTER / Option to insert a new line in an empty block - option id: "org.eclipse.cdt.core.formatter.insert_new_line_in_empty_block" - possible values: { INSERT, DO_NOT_INSERT } - default: INSERT
static java.lang.String FORMATTER_INSERT_SPACE_AFTER_CLOSING_BRACE_IN_BLOCK
           FORMATTER / Option to insert a space after the closing brace of a block - option id: "org.eclipse.cdt.core.formatter.insert_space_after_closing_brace_in_block" - possible values: { INSERT, DO_NOT_INSERT } - default: INSERT
static java.lang.String FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CASE
           FORMATTER / Option to insert a space after colon in a case statement when a opening brace follows the colon - option id: "org.eclipse.cdt.core.formatter.insert_space_after_colon_in_case" - possible values: { INSERT, DO_NOT_INSERT } - default: INSERT
static java.lang.String FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CONDITIONAL
           FORMATTER / Option to insert a space after the colon in a conditional expression - option id: "org.eclipse.cdt.core.formatter.insert_space_after_colon_in_conditional" - possible values: { INSERT, DO_NOT_INSERT } - default: INSERT
static java.lang.String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ARRAY_INITIALIZER
           FORMATTER / Option to insert a space after the comma in an array initializer - option id: "org.eclipse.cdt.core.formatter.insert_space_after_comma_in_array_initializer" - possible values: { INSERT, DO_NOT_INSERT } - default: INSERT
static java.lang.String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_DECLARATION_PARAMETERS
           FORMATTER / Option to insert a space after the comma in the parameters of a method declaration - option id: "org.eclipse.cdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters" - possible values: { INSERT, DO_NOT_INSERT } - default: INSERT
static java.lang.String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_INVOCATION_ARGUMENTS
           FORMATTER / Option to insert a space after the comma in the arguments of a method invocation - option id: "org.eclipse.cdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments" - possible values: { INSERT, DO_NOT_INSERT } - default: INSERT
static java.lang.String FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER
           FORMATTER / Option to insert a space after the opening brace in an array initializer - 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
static java.lang.String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_FOR
           FORMATTER / Option to insert a space after the opening parenthesis in a for statement - option id: "org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_for" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_IF
           FORMATTER / Option to insert a space after the opening parenthesis in an if statement - option id: "org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_if" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_DECLARATION
           FORMATTER / Option to insert a space after the opening parenthesis in a method declaration - option id: "org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_method_declaration" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_INVOCATION
           FORMATTER / Option to insert a space after the opening parenthesis in a method invocation - option id: "org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_method_invocation" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_SWITCH
           FORMATTER / Option to insert a space after the opening parenthesis in a switch statement - option id: "org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_switch" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_WHILE
           FORMATTER / Option to insert a space after the opening parenthesis in a while statement - option id: "org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_while" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_SPACE_AFTER_QUESTION_IN_CONDITIONAL
           FORMATTER / Option to insert a space after question mark in a conditional expression - option id: "org.eclipse.cdt.core.formatter.insert_space_after_question_in_conditional" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_SPACE_AFTER_SEMICOLON_IN_FOR
           FORMATTER / Option to insert a space after semicolon in a for statement - option id: "org.eclipse.cdt.core.formatter.insert_space_after_semicolon_in_for" - possible values: { INSERT, DO_NOT_INSERT } - default: INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER
           FORMATTER / Option to insert a space before the closing brace in an array initializer - 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
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_FOR
           FORMATTER / Option to insert a space before the closing parenthesis in a for statement - option id: "org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_for" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_IF
           FORMATTER / Option to insert a space before the closing parenthesis in an if statement - option id: "org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_if" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_DECLARATION
           FORMATTER / Option to insert a space before the closing parenthesis in a method declaration - option id: "org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_method_declaration" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_INVOCATION
           FORMATTER / Option to insert a space before the closing parenthesis in a method invocation - option id: "org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_method_invocation" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SWITCH
           FORMATTER / Option to insert a space before the closing parenthesis in a switch statement - option id: "org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_switch" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_WHILE
           FORMATTER / Option to insert a space before the closing parenthesis in a while statement - option id: "org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_while" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CASE
           FORMATTER / Option to insert a space before colon in a case statement - option id: "org.eclipse.cdt.core.formatter.insert_space_before_colon_in_case" - possible values: { INSERT, DO_NOT_INSERT } - default: INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CONDITIONAL
           FORMATTER / Option to insert a space before colon in a conditional expression - option id: "org.eclipse.cdt.core.formatter.insert_space_before_colon_in_conditional" - possible values: { INSERT, DO_NOT_INSERT } - default: INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_DEFAULT
           FORMATTER / Option to insert a space before colon in a default statement - option id: "org.eclipse.cdt.core.formatter.insert_space_before_colon_in_default" - possible values: { INSERT, DO_NOT_INSERT } - default: INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ARRAY_INITIALIZER
           FORMATTER / Option to insert a space before comma in an array initializer - option id: "org.eclipse.cdt.core.formatter.insert_space_before_comma_in_array_initializer" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_PARAMETERS
           FORMATTER / Option to insert a space before comma in the parameters of a method declaration - option id: "org.eclipse.cdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_INVOCATION_ARGUMENTS
           FORMATTER / Option to insert a space before comma in the arguments of a method invocation - option id: "org.eclipse.cdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ARRAY_INITIALIZER
           FORMATTER / Option to insert a space before the opening brace in an array initializer - 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
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_BLOCK
           FORMATTER / Option to insert a space before the opening brace in a block - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_block" - possible values: { INSERT, DO_NOT_INSERT } - default: INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_METHOD_DECLARATION
           FORMATTER / Option to insert a space before the opening brace in a method declaration - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_method_declaration" - possible values: { INSERT, DO_NOT_INSERT } - default: INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_NAMESPACE_DECLARATION
           FORMATTER / Option to insert a space before the opening brace in a namespace declaration - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_namespace_declaration" - possible values: { INSERT, DO_NOT_INSERT } - default: INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_SWITCH
           FORMATTER / Option to insert a space before the opening brace in a switch statement - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_switch" - possible values: { INSERT, DO_NOT_INSERT } - default: INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_TYPE_DECLARATION
           FORMATTER / Option to insert a space before the opening brace in a type declaration - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" - possible values: { INSERT, DO_NOT_INSERT } - default: INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_FOR
           FORMATTER / Option to insert a space before the opening parenthesis in a for statement - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_for" - possible values: { INSERT, DO_NOT_INSERT } - default: INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_IF
           FORMATTER / Option to insert a space before the opening parenthesis in an if statement - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_if" - possible values: { INSERT, DO_NOT_INSERT } - default: INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_DECLARATION
           FORMATTER / Option to insert a space before the opening parenthesis in a method declaration - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_method_declaration" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_INVOCATION
           FORMATTER / Option to insert a space before the opening parenthesis in a method invocation - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_method_invocation" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SWITCH
           FORMATTER / Option to insert a space before the opening parenthesis in a switch statement - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_switch" - possible values: { INSERT, DO_NOT_INSERT } - default: INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_WHILE
           FORMATTER / Option to insert a space before the opening parenthesis in a while statement - option id: "org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_while" - possible values: { INSERT, DO_NOT_INSERT } - default: INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_QUESTION_IN_CONDITIONAL
           FORMATTER / Option to insert a space before question mark in a conditional expression - option id: "org.eclipse.cdt.core.formatter.insert_space_before_question_in_conditional" - possible values: { INSERT, DO_NOT_INSERT } - default: INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON
           FORMATTER / Option to insert a space before semicolon - option id: "org.eclipse.cdt.core.formatter.insert_space_before_semicolon" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON_IN_FOR
           FORMATTER / Option to insert a space before semicolon in for statement - option id: "org.eclipse.cdt.core.formatter.insert_space_before_semicolon_in_for" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACES_IN_ARRAY_INITIALIZER
           FORMATTER / Option to insert a space between empty braces in an array initializer - 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
static java.lang.String FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_DECLARATION
           FORMATTER / Option to insert a space between empty parenthesis in a method declaration - option id: "org.eclipse.cdt.core.formatter.insert_space_between_empty_parens_in_method_declaration" - possible values: { INSERT, DO_NOT_INSERT } - default: DO_NOT_INSERT
static java.lang.String FORMATTER_KEEP_ELSE_STATEMENT_ON_SAME_LINE
           FORMATTER / Option to keep else statement on the same line - option id: "org.eclipse.cdt.core.formatter.keep_else_statement_on_same_line" - possible values: { TRUE, FALSE } - default: FALSE
static java.lang.String FORMATTER_KEEP_EMPTY_ARRAY_INITIALIZER_ON_ONE_LINE
           FORMATTER / Option to keep empty array initializer one one line - option id: "org.eclipse.cdt.core.formatter.keep_empty_array_initializer_on_one_line" - possible values: { TRUE, FALSE } - default: FALSE
static java.lang.String FORMATTER_KEEP_GUARDIAN_CLAUSE_ON_ONE_LINE
           FORMATTER / Option to keep guardian clause on one line - option id: "org.eclipse.cdt.core.formatter.format_guardian_clause_on_one_line" - possible values: { TRUE, FALSE } - default: FALSE
static java.lang.String FORMATTER_KEEP_SIMPLE_IF_ON_ONE_LINE
           FORMATTER / Option to keep simple if statement on the one line - option id: "org.eclipse.cdt.core.formatter.keep_imple_if_on_one_line" - possible values: { TRUE, FALSE } - default: FALSE
static java.lang.String FORMATTER_KEEP_THEN_STATEMENT_ON_SAME_LINE
           FORMATTER / Option to keep then statement on the same line - option id: "org.eclipse.cdt.core.formatter.keep_then_statement_on_same_line" - possible values: { TRUE, FALSE } - default: FALSE
static java.lang.String FORMATTER_LANGUAGE
           FORMATTER / Option for the language - option id: "org.eclipse.cdt.core.formatter.language" - possible values: object of class ILanguage or null - default: null
static java.lang.String FORMATTER_LINE_SPLIT
           FORMATTER / Option to specify the length of the page.
static java.lang.String FORMATTER_NUMBER_OF_EMPTY_LINES_TO_PRESERVE
           FORMATTER / Option to specify the number of empty lines to preserve - option id: "org.eclipse.cdt.core.formatter.number_of_empty_lines_to_preserve" - possible values: "<n>", where n is zero or a positive integer - default: "0"
static java.lang.String FORMATTER_PUT_EMPTY_STATEMENT_ON_NEW_LINE
           FORMATTER / Option to specify whether or not empty statement should be on a new line - option id: "org.eclipse.cdt.core.formatter.put_empty_statement_on_new_line" - possible values: { TRUE, FALSE } - default: FALSE
static java.lang.String FORMATTER_TAB_CHAR
           FORMATTER / Option to specify the tabulation size - option id: "org.eclipse.cdt.core.formatter.tabulation.char" - possible values: { TAB, SPACE, MIXED } - default: TAB More values may be added in the future.
static java.lang.String FORMATTER_TAB_SIZE
           FORMATTER / Option to specify the equivalent number of spaces that represents one tabulation - option id: "org.eclipse.cdt.core.formatter.tabulation.size" - possible values: "<n>", where n is zero or a positive integer - default: "4"
static java.lang.String FORMATTER_TRANSLATION_UNIT
           FORMATTER / Option for the translation unit - option id: "org.eclipse.cdt.core.formatter.current_translation_unit" - possible values: object of class ITranslationUnit or null - default: null
static java.lang.String FORMATTER_USE_TABS_ONLY_FOR_LEADING_INDENTATIONS
           FORMATTER / Option to use tabulations only for leading indentations - option id: "org.eclipse.cdt.core.formatter.use_tabs_only_for_leading_indentations" - possible values: { TRUE, FALSE } - default: FALSE
static int INDENT_BY_ONE
           FORMATTER / The wrapping is done by indenting by one compare to the current indentation.
static int INDENT_DEFAULT
           FORMATTER / The wrapping is done by using the current indentation.
static int INDENT_ON_COLUMN
           FORMATTER / The wrapping is done by indenting on column under the splitting location.
static java.lang.String MIXED
           FORMATTER / Possible value for the option FORMATTER_TAB_CHAR
static java.lang.String NEXT_LINE
           FORMATTER / Value to set a brace location at the start of the next line with the right indentation.
static java.lang.String NEXT_LINE_ON_WRAP
           FORMATTER / Value to set a brace location at the start of the next line if a wrapping occured.
static java.lang.String NEXT_LINE_SHIFTED
           FORMATTER / Value to set a brace location at the start of the next line with an extra indentation.
static java.lang.String TRUE
           FORMATTER / Value to set an option to true.
static int WRAP_COMPACT
           FORMATTER / The wrapping is done using as few lines as possible.
static int WRAP_COMPACT_FIRST_BREAK
           FORMATTER / The wrapping is done putting the first element on a new line and then wrapping next elements using as few lines as possible.
static int WRAP_NEXT_PER_LINE
           FORMATTER / The wrapping is done by putting each element on its own line except the first element.
static int WRAP_NEXT_SHIFTED
           FORMATTER / The wrapping is done by putting each element on its own line.
static int WRAP_NO_SPLIT
           FORMATTER / Value to disable alignment.
static int WRAP_ONE_PER_LINE
           FORMATTER / The wrapping is done by putting each element on its own line.
 
Constructor Summary
DefaultCodeFormatterConstants()
           
 
Method Summary
static java.lang.String createAlignmentValue(boolean forceSplit, int wrapStyle, int indentStyle)
          Create a new alignment value according to the given values.
static java.util.Map getAllmanSettings()
          Returns the Allman formatter settings
static java.util.Map getDefaultSettings()
          Returns the default formatter settings
static boolean getForceWrapping(java.lang.String value)
          Return the force value of the given alignment value.
static java.util.Map getGNUSettings()
          Returns the GNU formatter settings
static int getIndentStyle(java.lang.String value)
          Return the indentation style of the given alignment value.
static java.util.Map getKandRSettings()
          Returns the K&R formatter settings
static java.util.Map getWhitesmithsSettings()
          Returns the Whitesmiths formatter settings
static int getWrappingStyle(java.lang.String value)
          Return the wrapping style of the given alignment value.
static java.lang.String setForceWrapping(java.lang.String value, boolean force)
          Set the force value of the given alignment value and return the new value.
static java.lang.String setIndentStyle(java.lang.String value, int indentStyle)
          Set the indentation style of the given alignment value and return the new value.
static java.lang.String setWrappingStyle(java.lang.String value, int wrappingStyle)
          Set the wrapping style of the given alignment value and return the new value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORMATTER_LANGUAGE

public static final java.lang.String FORMATTER_LANGUAGE
 FORMATTER / Option for the language
     - option id:         "org.eclipse.cdt.core.formatter.language"
     - possible values:   object of class ILanguage or null 
     - default:           null
 

See Also:
Constant Field Values

FORMATTER_CURRENT_FILE

public static final java.lang.String FORMATTER_CURRENT_FILE
 FORMATTER / Option for the current file
     - option id:         "org.eclipse.cdt.core.formatter.current_file"
     - possible values:   object of class IFile or null 
     - default:           null
 

See Also:
Constant Field Values

FORMATTER_TRANSLATION_UNIT

public static final java.lang.String FORMATTER_TRANSLATION_UNIT
 FORMATTER / Option for the translation unit
     - option id:         "org.eclipse.cdt.core.formatter.current_translation_unit"
     - possible values:   object of class ITranslationUnit or null 
     - default:           null
 

See Also:
Constant Field Values

END_OF_LINE

public static final java.lang.String END_OF_LINE
 FORMATTER / Value to set a brace location at the end of a line.
 

See Also:
#FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION, FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER, FORMATTER_BRACE_POSITION_FOR_BLOCK, #FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION, FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION, FORMATTER_BRACE_POSITION_FOR_SWITCH, FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION, Constant Field Values

FALSE

public static final java.lang.String FALSE
 FORMATTER / Value to set an option to false.
 

See Also:
Constant Field Values

FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_METHOD_INVOCATION

public static final java.lang.String FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_METHOD_INVOCATION
 FORMATTER / Option for alignment of arguments in method invocation
     - option id:         "org.eclipse.cdt.core.formatter.alignment_for_arguments_in_method_invocation"
     - possible values:   values returned by createAlignmentValue(boolean, int, int) call
     - default:           createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
 

See Also:
createAlignmentValue(boolean, int, int), Constant Field Values

FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION

public static final java.lang.String FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION
 FORMATTER / Option for alignment of conditional expression
     - option id:         "org.eclipse.cdt.core.formatter.alignment_for_conditional_expression"
     - possible values:   values returned by createAlignmentValue(boolean, int, int) call
     - default:           createAlignmentValue(false, WRAP_ONE_PER_LINE, INDENT_DEFAULT)
 

See Also:
createAlignmentValue(boolean, int, int), Constant Field Values

FORMATTER_ALIGNMENT_FOR_EXPRESSIONS_IN_ARRAY_INITIALIZER

public static final java.lang.String FORMATTER_ALIGNMENT_FOR_EXPRESSIONS_IN_ARRAY_INITIALIZER
 FORMATTER / Option for alignment of expressions in array initializer
     - option id:         "org.eclipse.cdt.core.formatter.alignment_for_expressions_in_array_initializer"
     - possible values:   values returned by createAlignmentValue(boolean, int, int) call
     - default:           createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
 

See Also:
createAlignmentValue(boolean, int, int), Constant Field Values

FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_METHOD_DECLARATION

public static final java.lang.String FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_METHOD_DECLARATION
 FORMATTER / Option for alignment of parameters in method declaration
     - option id:         "org.eclipse.cdt.core.formatter.alignment_for_parameters_in_method_declaration"
     - possible values:   values returned by createAlignmentValue(boolean, int, int) call
     - default:           createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
 

See Also:
createAlignmentValue(boolean, int, int), Constant Field Values

FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER

public static final java.lang.String FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER
 FORMATTER / Option to position the braces of array initializer
     - 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
 

See Also:
END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP, Constant Field Values

FORMATTER_BRACE_POSITION_FOR_BLOCK

public static final java.lang.String FORMATTER_BRACE_POSITION_FOR_BLOCK
 FORMATTER / Option to position the braces of a block
     - option id:         "org.eclipse.cdt.core.formatter.brace_position_for_block"
     - possible values:   { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP }
     - default:           END_OF_LINE
 

See Also:
END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP, Constant Field Values

FORMATTER_BRACE_POSITION_FOR_BLOCK_IN_CASE

public static final java.lang.String FORMATTER_BRACE_POSITION_FOR_BLOCK_IN_CASE
 FORMATTER / Option to position the braces of a block in a case statement when the block is the first statement following
             the case
     - option id:         "org.eclipse.cdt.core.formatter.brace_position_for_block_in_case"
     - possible values:   { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP }
     - default:           END_OF_LINE
 

See Also:
END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP, Constant Field Values

FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION

public static final java.lang.String FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION
 FORMATTER / Option to position the braces of a method declaration
     - option id:         "org.eclipse.cdt.core.formatter.brace_position_for_method_declaration"
     - possible values:   { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP }
     - default:           END_OF_LINE
 

See Also:
END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP, Constant Field Values

FORMATTER_BRACE_POSITION_FOR_SWITCH

public static final java.lang.String FORMATTER_BRACE_POSITION_FOR_SWITCH
 FORMATTER / Option to position the braces of a switch statement
     - option id:         "org.eclipse.cdt.core.formatter.brace_position_for_switch"
     - possible values:   { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP }
     - default:           END_OF_LINE
 

See Also:
END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP, Constant Field Values

FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION

public static final java.lang.String FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION
 FORMATTER / Option to position the braces of a type declaration
     - option id:         "org.eclipse.cdt.core.formatter.brace_position_for_type_declaration"
     - possible values:   { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP }
     - default:           END_OF_LINE
 

See Also:
END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP, Constant Field Values

FORMATTER_BRACE_POSITION_FOR_NAMESPACE_DECLARATION

public static final java.lang.String FORMATTER_BRACE_POSITION_FOR_NAMESPACE_DECLARATION
 FORMATTER / Option to position the braces of a namespace declaration
     - option id:         "org.eclipse.cdt.core.formatter.brace_position_for_namespace_declaration"
     - possible values:   { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP }
     - default:           END_OF_LINE
 

See Also:
END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP, Constant Field Values

FORMATTER_COMPACT_ELSE_IF

public static final java.lang.String FORMATTER_COMPACT_ELSE_IF
 FORMATTER / Option to compact else/if
     - option id:         "org.eclipse.cdt.core.formatter.compact_else_if"
     - possible values:   { TRUE, FALSE }
     - default:           TRUE
 

See Also:
TRUE, FALSE, Constant Field Values

FORMATTER_CONTINUATION_INDENTATION

public static final java.lang.String FORMATTER_CONTINUATION_INDENTATION
 FORMATTER / Option to set the continuation indentation
     - option id:         "org.eclipse.cdt.core.formatter.continuation_indentation"
     - possible values:   "<n>", where n is zero or a positive integer
     - default:           "2"
 

See Also:
Constant Field Values

FORMATTER_CONTINUATION_INDENTATION_FOR_ARRAY_INITIALIZER

public static final java.lang.String FORMATTER_CONTINUATION_INDENTATION_FOR_ARRAY_INITIALIZER
 FORMATTER / Option to set the continuation indentation inside array initializer
     - 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"
 

See Also:
Constant Field Values

FORMATTER_INDENT_ACCESS_SPECIFIER_COMPARE_TO_TYPE_HEADER

public static final java.lang.String FORMATTER_INDENT_ACCESS_SPECIFIER_COMPARE_TO_TYPE_HEADER
 FORMATTER / Option to indent body declarations compare to its enclosing type header
     - option id:         "org.eclipse.cdt.core.formatter.indent_access_specifier_compare_to_type_header"
     - possible values:   { TRUE, FALSE }
     - default:           FALSE
 

See Also:
TRUE, FALSE, Constant Field Values

FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ACCESS_SPECIFIER

public static final java.lang.String FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ACCESS_SPECIFIER
 FORMATTER / Option to indent body declarations compare to access specifiers (visibility labels)
     - option id:         "org.eclipse.cdt.core.formatter.indent_body_declarations_compare_to_access_specifier"
     - possible values:   { TRUE, FALSE }
     - default:           TRUE
 

See Also:
TRUE, FALSE, Constant Field Values

FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_NAMESPACE_HEADER

public static final java.lang.String FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_NAMESPACE_HEADER
 FORMATTER / Option to indent body declarations compare to its enclosing namespace header
     - option id:         "org.eclipse.cdt.core.formatter.indent_body_declarations_compare_to_namespace_header"
     - possible values:   { TRUE, FALSE }
     - default:           TRUE
 

See Also:
TRUE, FALSE, Constant Field Values

FORMATTER_INDENT_BREAKS_COMPARE_TO_CASES

public static final java.lang.String FORMATTER_INDENT_BREAKS_COMPARE_TO_CASES
 FORMATTER / Option to indent breaks compare to cases
     - option id:         "org.eclipse.cdt.core.formatter.indent_breaks_compare_to_cases"
     - possible values:   { TRUE, FALSE }
     - default:           TRUE
 

See Also:
TRUE, FALSE, Constant Field Values

FORMATTER_INDENT_EMPTY_LINES

public static final java.lang.String FORMATTER_INDENT_EMPTY_LINES
 FORMATTER / Option to indent empty lines
     - option id:         "org.eclipse.cdt.core.formatter.indent_empty_lines"
     - possible values:   { TRUE, FALSE }
     - default:           FALSE
 

See Also:
TRUE, FALSE, Constant Field Values

FORMATTER_INDENT_INSIDE_LINE_COMMENTS

public static final java.lang.String FORMATTER_INDENT_INSIDE_LINE_COMMENTS
 FORMATTER / Option to indent inside line comments at column 0
     - option id:         "org.eclipse.cdt.core.formatter.indent_inside_line_comments"
     - possible values:   { TRUE, FALSE }
     - default:           FALSE
 

See Also:
TRUE, FALSE, Constant Field Values

FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BLOCK

public static final java.lang.String FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BLOCK
 FORMATTER / Option to indent statements inside a block
     - option id:         "org.eclipse.cdt.core.formatter.indent_statements_compare_to_block"
     - possible values:   { TRUE, FALSE }
     - default:           TRUE
 

See Also:
TRUE, FALSE, Constant Field Values

FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BODY

public static final java.lang.String FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BODY
 FORMATTER / Option to indent statements inside the body of a method or a constructor
     - option id:         "org.eclipse.cdt.core.formatter.indent_statements_compare_to_body"
     - possible values:   { TRUE, FALSE }
     - default:           TRUE
 

See Also:
TRUE, FALSE, Constant Field Values

FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_CASES

public static final java.lang.String FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_CASES
 FORMATTER / Option to indent switch statements compare to cases
     - option id:         "org.eclipse.cdt.core.formatter.indent_switchstatements_compare_to_cases"
     - possible values:   { TRUE, FALSE }
     - default:           TRUE
 

See Also:
TRUE, FALSE, Constant Field Values

FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_SWITCH

public static final java.lang.String FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_SWITCH
 FORMATTER / Option to indent switch statements compare to switch
     - option id:         "org.eclipse.cdt.core.formatter.indent_switchstatements_compare_to_switch"
     - possible values:   { TRUE, FALSE }
     - default:           TRUE
 

See Also:
TRUE, FALSE, Constant Field Values

FORMATTER_INDENTATION_SIZE

public static final java.lang.String FORMATTER_INDENTATION_SIZE
 FORMATTER / Option to specify the equivalent number of spaces that represents one indentation 
     - option id:         "org.eclipse.cdt.core.formatter.indentation.size"
     - possible values:   "<n>", where n is zero or a positive integer
     - default:           "4"
 

This option is used only if the tab char is set to MIXED.

See Also:
FORMATTER_TAB_CHAR, Constant Field Values

FORMATTER_INSERT_NEW_LINE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER

public static final java.lang.String FORMATTER_INSERT_NEW_LINE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER
 FORMATTER / Option to insert a new line after the opening brace in an array initializer
     - 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
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_NEW_LINE_AT_END_OF_FILE_IF_MISSING

public static final java.lang.String FORMATTER_INSERT_NEW_LINE_AT_END_OF_FILE_IF_MISSING
 FORMATTER / Option to insert a new line at the end of the current file if missing
     - option id:         "org.eclipse.cdt.core.formatter.insert_new_line_at_end_of_file_if_missing"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_NEW_LINE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER

public static final java.lang.String FORMATTER_INSERT_NEW_LINE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER
 FORMATTER / Option to insert a new line before the closing brace in an array initializer
     - 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
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_NEW_LINE_BEFORE_ELSE_IN_IF_STATEMENT

public static final java.lang.String FORMATTER_INSERT_NEW_LINE_BEFORE_ELSE_IN_IF_STATEMENT
 FORMATTER / Option to insert a new line before the else keyword in if statement
     - option id:         "org.eclipse.cdt.core.formatter.insert_new_line_before_else_in_if_statement"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_NEW_LINE_BEFORE_WHILE_IN_DO_STATEMENT

public static final java.lang.String FORMATTER_INSERT_NEW_LINE_BEFORE_WHILE_IN_DO_STATEMENT
 FORMATTER / Option to insert a new line before while in do statement
     - option id:         "org.eclipse.cdt.core.formatter.insert_new_line_before_while_in_do_statement"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_NEW_LINE_IN_EMPTY_BLOCK

public static final java.lang.String FORMATTER_INSERT_NEW_LINE_IN_EMPTY_BLOCK
 FORMATTER / Option to insert a new line in an empty block
     - option id:         "org.eclipse.cdt.core.formatter.insert_new_line_in_empty_block"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_AFTER_CLOSING_BRACE_IN_BLOCK

public static final java.lang.String FORMATTER_INSERT_SPACE_AFTER_CLOSING_BRACE_IN_BLOCK
 FORMATTER / Option to insert a space after the closing brace of a block
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_after_closing_brace_in_block"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CASE

public static final java.lang.String FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CASE
 FORMATTER / Option to insert a space after colon in a case statement when a opening brace follows the colon
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_after_colon_in_case"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CONDITIONAL

public static final java.lang.String FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CONDITIONAL
 FORMATTER / Option to insert a space after the colon in a conditional expression
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_after_colon_in_conditional"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ARRAY_INITIALIZER

public static final java.lang.String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ARRAY_INITIALIZER
 FORMATTER / Option to insert a space after the comma in an array initializer
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_after_comma_in_array_initializer"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_DECLARATION_PARAMETERS

public static final java.lang.String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_DECLARATION_PARAMETERS
 FORMATTER / Option to insert a space after the comma in the parameters of a method declaration
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_INVOCATION_ARGUMENTS

public static final java.lang.String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_INVOCATION_ARGUMENTS
 FORMATTER / Option to insert a space after the comma in the arguments of a method invocation
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER

public static final java.lang.String FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER
 FORMATTER / Option to insert a space after the opening brace in an array initializer
     - 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
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_FOR

public static final java.lang.String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_FOR
 FORMATTER / Option to insert a space after the opening parenthesis in a for statement
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_for"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_IF

public static final java.lang.String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_IF
 FORMATTER / Option to insert a space after the opening parenthesis in an if statement
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_if"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_DECLARATION

public static final java.lang.String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_DECLARATION
 FORMATTER / Option to insert a space after the opening parenthesis in a method declaration
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_method_declaration"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_INVOCATION

public static final java.lang.String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_INVOCATION
 FORMATTER / Option to insert a space after the opening parenthesis in a method invocation
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_method_invocation"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_SWITCH

public static final java.lang.String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_SWITCH
 FORMATTER / Option to insert a space after the opening parenthesis in a switch statement
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_switch"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_WHILE

public static final java.lang.String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_WHILE
 FORMATTER / Option to insert a space after the opening parenthesis in a while statement
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_while"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_AFTER_QUESTION_IN_CONDITIONAL

public static final java.lang.String FORMATTER_INSERT_SPACE_AFTER_QUESTION_IN_CONDITIONAL
 FORMATTER / Option to insert a space after question mark in a conditional expression
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_after_question_in_conditional"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_AFTER_SEMICOLON_IN_FOR

public static final java.lang.String FORMATTER_INSERT_SPACE_AFTER_SEMICOLON_IN_FOR
 FORMATTER / Option to insert a space after semicolon in a for statement
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_after_semicolon_in_for"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER
 FORMATTER / Option to insert a space before the closing brace in an array initializer
     - 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
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_FOR

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_FOR
 FORMATTER / Option to insert a space before the closing parenthesis in a for statement
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_for"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_IF

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_IF
 FORMATTER / Option to insert a space before the closing parenthesis in an if statement
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_if"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_DECLARATION

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_DECLARATION
 FORMATTER / Option to insert a space before the closing parenthesis in a method declaration
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_method_declaration"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_INVOCATION

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_INVOCATION
 FORMATTER / Option to insert a space before the closing parenthesis in a method invocation
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_method_invocation"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SWITCH

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SWITCH
 FORMATTER / Option to insert a space before the closing parenthesis in a switch statement
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_switch"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_WHILE

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_WHILE
 FORMATTER / Option to insert a space before the closing parenthesis in a while statement
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_while"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CASE

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CASE
 FORMATTER / Option to insert a space before colon in a case statement
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_colon_in_case"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CONDITIONAL

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CONDITIONAL
 FORMATTER / Option to insert a space before colon in a conditional expression
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_colon_in_conditional"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_DEFAULT

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_DEFAULT
 FORMATTER / Option to insert a space before colon in a default statement
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_colon_in_default"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ARRAY_INITIALIZER

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ARRAY_INITIALIZER
 FORMATTER / Option to insert a space before comma in an array initializer
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_comma_in_array_initializer"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_PARAMETERS

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_PARAMETERS
 FORMATTER / Option to insert a space before comma in the parameters of a method declaration
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_INVOCATION_ARGUMENTS

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_INVOCATION_ARGUMENTS
 FORMATTER / Option to insert a space before comma in the arguments of a method invocation
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ARRAY_INITIALIZER

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ARRAY_INITIALIZER
 FORMATTER / Option to insert a space before the opening brace in an array initializer
     - 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
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_BLOCK

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_BLOCK
 FORMATTER / Option to insert a space before the opening brace in a block
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_block"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_METHOD_DECLARATION

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_METHOD_DECLARATION
 FORMATTER / Option to insert a space before the opening brace in a method declaration
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_method_declaration"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_SWITCH

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_SWITCH
 FORMATTER / Option to insert a space before the opening brace in a switch statement
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_switch"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_TYPE_DECLARATION

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_TYPE_DECLARATION
 FORMATTER / Option to insert a space before the opening brace in a type declaration
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_type_declaration"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_NAMESPACE_DECLARATION

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_NAMESPACE_DECLARATION
 FORMATTER / Option to insert a space before the opening brace in a namespace declaration
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_namespace_declaration"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_FOR

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_FOR
 FORMATTER / Option to insert a space before the opening parenthesis in a for statement
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_for"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_IF

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_IF
 FORMATTER / Option to insert a space before the opening parenthesis in an if statement
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_if"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_DECLARATION

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_DECLARATION
 FORMATTER / Option to insert a space before the opening parenthesis in a method declaration
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_method_declaration"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_INVOCATION

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_INVOCATION
 FORMATTER / Option to insert a space before the opening parenthesis in a method invocation
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_method_invocation"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SWITCH

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SWITCH
 FORMATTER / Option to insert a space before the opening parenthesis in a switch statement
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_switch"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_WHILE

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_WHILE
 FORMATTER / Option to insert a space before the opening parenthesis in a while statement
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_while"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_QUESTION_IN_CONDITIONAL

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_QUESTION_IN_CONDITIONAL
 FORMATTER / Option to insert a space before question mark in a conditional expression
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_question_in_conditional"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON
 FORMATTER / Option to insert a space before semicolon
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_semicolon"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON_IN_FOR

public static final java.lang.String FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON_IN_FOR
 FORMATTER / Option to insert a space before semicolon in for statement
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_before_semicolon_in_for"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACES_IN_ARRAY_INITIALIZER

public static final java.lang.String FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACES_IN_ARRAY_INITIALIZER
 FORMATTER / Option to insert a space between empty braces in an array initializer
     - 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
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_DECLARATION

public static final java.lang.String FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_DECLARATION
 FORMATTER / Option to insert a space between empty parenthesis in a method declaration
     - option id:         "org.eclipse.cdt.core.formatter.insert_space_between_empty_parens_in_method_declaration"
     - possible values:   { INSERT, DO_NOT_INSERT }
     - default:           DO_NOT_INSERT
 

See Also:
CCorePlugin.INSERT, CCorePlugin.DO_NOT_INSERT, Constant Field Values

FORMATTER_KEEP_ELSE_STATEMENT_ON_SAME_LINE

public static final java.lang.String FORMATTER_KEEP_ELSE_STATEMENT_ON_SAME_LINE
 FORMATTER / Option to keep else statement on the same line
     - option id:         "org.eclipse.cdt.core.formatter.keep_else_statement_on_same_line"
     - possible values:   { TRUE, FALSE }
     - default:           FALSE
 

See Also:
TRUE, FALSE, Constant Field Values

FORMATTER_KEEP_EMPTY_ARRAY_INITIALIZER_ON_ONE_LINE

public static final java.lang.String FORMATTER_KEEP_EMPTY_ARRAY_INITIALIZER_ON_ONE_LINE
 FORMATTER / Option to keep empty array initializer one one line
     - option id:         "org.eclipse.cdt.core.formatter.keep_empty_array_initializer_on_one_line"
     - possible values:   { TRUE, FALSE }
     - default:           FALSE
 

See Also:
TRUE, FALSE, Constant Field Values

FORMATTER_KEEP_GUARDIAN_CLAUSE_ON_ONE_LINE

public static final java.lang.String FORMATTER_KEEP_GUARDIAN_CLAUSE_ON_ONE_LINE
 FORMATTER / Option to keep guardian clause on one line
     - option id:         "org.eclipse.cdt.core.formatter.format_guardian_clause_on_one_line"
     - possible values:   { TRUE, FALSE }
     - default:           FALSE
 

See Also:
TRUE, FALSE, Constant Field Values

FORMATTER_KEEP_SIMPLE_IF_ON_ONE_LINE

public static final java.lang.String FORMATTER_KEEP_SIMPLE_IF_ON_ONE_LINE
 FORMATTER / Option to keep simple if statement on the one line
     - option id:         "org.eclipse.cdt.core.formatter.keep_imple_if_on_one_line"
     - possible values:   { TRUE, FALSE }
     - default:           FALSE
 

See Also:
TRUE, FALSE, Constant Field Values

FORMATTER_KEEP_THEN_STATEMENT_ON_SAME_LINE

public static final java.lang.String FORMATTER_KEEP_THEN_STATEMENT_ON_SAME_LINE
 FORMATTER / Option to keep then statement on the same line
     - option id:         "org.eclipse.cdt.core.formatter.keep_then_statement_on_same_line"
     - possible values:   { TRUE, FALSE }
     - default:           FALSE
 

See Also:
TRUE, FALSE, Constant Field Values

FORMATTER_LINE_SPLIT

public static final java.lang.String FORMATTER_LINE_SPLIT
 FORMATTER / Option to specify the length of the page. Beyond this length, the formatter will try to split the code
     - option id:         "org.eclipse.cdt.core.formatter.lineSplit"
     - possible values:   "<n>", where n is zero or a positive integer
     - default:           "80"
 

See Also:
Constant Field Values

FORMATTER_NUMBER_OF_EMPTY_LINES_TO_PRESERVE

public static final java.lang.String FORMATTER_NUMBER_OF_EMPTY_LINES_TO_PRESERVE
 FORMATTER / Option to specify the number of empty lines to preserve
     - option id:         "org.eclipse.cdt.core.formatter.number_of_empty_lines_to_preserve"
     - possible values:   "<n>", where n is zero or a positive integer
     - default:           "0"
 

See Also:
Constant Field Values

FORMATTER_PUT_EMPTY_STATEMENT_ON_NEW_LINE

public static final java.lang.String FORMATTER_PUT_EMPTY_STATEMENT_ON_NEW_LINE
 FORMATTER / Option to specify whether or not empty statement should be on a new line
     - option id:         "org.eclipse.cdt.core.formatter.put_empty_statement_on_new_line"
     - possible values:   { TRUE, FALSE }
     - default:           FALSE
 

See Also:
TRUE, FALSE, Constant Field Values

FORMATTER_TAB_CHAR

public static final java.lang.String FORMATTER_TAB_CHAR
 FORMATTER / Option to specify the tabulation size
     - option id:         "org.eclipse.cdt.core.formatter.tabulation.char"
     - possible values:   { TAB, SPACE, MIXED }
     - default:           TAB
 
More values may be added in the future.

See Also:
CCorePlugin.TAB, CCorePlugin.SPACE, MIXED, Constant Field Values

FORMATTER_TAB_SIZE

public static final java.lang.String FORMATTER_TAB_SIZE
 FORMATTER / Option to specify the equivalent number of spaces that represents one tabulation 
     - option id:         "org.eclipse.cdt.core.formatter.tabulation.size"
     - possible values:   "<n>", where n is zero or a positive integer
     - default:           "4"
 

See Also:
Constant Field Values

FORMATTER_USE_TABS_ONLY_FOR_LEADING_INDENTATIONS

public static final java.lang.String FORMATTER_USE_TABS_ONLY_FOR_LEADING_INDENTATIONS
 FORMATTER / Option to use tabulations only for leading indentations 
     - option id:         "org.eclipse.cdt.core.formatter.use_tabs_only_for_leading_indentations"
     - possible values:   { TRUE, FALSE }
     - default:           FALSE
 

See Also:
TRUE, FALSE, Constant Field Values

INDENT_BY_ONE

public static final int INDENT_BY_ONE
 FORMATTER / The wrapping is done by indenting by one compare to the current indentation.
 

See Also:
Constant Field Values

INDENT_DEFAULT

public static final int INDENT_DEFAULT
 FORMATTER / The wrapping is done by using the current indentation.
 

See Also:
Constant Field Values

INDENT_ON_COLUMN

public static final int INDENT_ON_COLUMN
 FORMATTER / The wrapping is done by indenting on column under the splitting location.
 

See Also:
Constant Field Values

MIXED

public static final java.lang.String MIXED
 FORMATTER / Possible value for the option FORMATTER_TAB_CHAR
 

See Also:
CCorePlugin.TAB, CCorePlugin.SPACE, FORMATTER_TAB_CHAR, Constant Field Values

NEXT_LINE

public static final java.lang.String NEXT_LINE
 FORMATTER / Value to set a brace location at the start of the next line with
             the right indentation.
 

See Also:
#FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION, FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER, FORMATTER_BRACE_POSITION_FOR_BLOCK, #FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION, FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION, FORMATTER_BRACE_POSITION_FOR_SWITCH, FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION, Constant Field Values

NEXT_LINE_ON_WRAP

public static final java.lang.String NEXT_LINE_ON_WRAP
 FORMATTER / Value to set a brace location at the start of the next line if a wrapping
             occured.
 

See Also:
#FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION, FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER, FORMATTER_BRACE_POSITION_FOR_BLOCK, #FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION, FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION, FORMATTER_BRACE_POSITION_FOR_SWITCH, FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION, Constant Field Values

NEXT_LINE_SHIFTED

public static final java.lang.String NEXT_LINE_SHIFTED
 FORMATTER / Value to set a brace location at the start of the next line with
             an extra indentation.
 

See Also:
#FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION, FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER, FORMATTER_BRACE_POSITION_FOR_BLOCK, #FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION, FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION, FORMATTER_BRACE_POSITION_FOR_SWITCH, FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION, Constant Field Values

TRUE

public static final java.lang.String TRUE
 FORMATTER / Value to set an option to true.
 

See Also:
Constant Field Values

WRAP_COMPACT

public static final int WRAP_COMPACT
 FORMATTER / The wrapping is done using as few lines as possible.
 

See Also:
Constant Field Values

WRAP_COMPACT_FIRST_BREAK

public static final int WRAP_COMPACT_FIRST_BREAK
 FORMATTER / The wrapping is done putting the first element on a new
             line and then wrapping next elements using as few lines as possible.
 

See Also:
Constant Field Values

WRAP_NEXT_PER_LINE

public static final int WRAP_NEXT_PER_LINE
 FORMATTER / The wrapping is done by putting each element on its own line
             except the first element.
 

See Also:
Constant Field Values

WRAP_NEXT_SHIFTED

public static final int WRAP_NEXT_SHIFTED
 FORMATTER / The wrapping is done by putting each element on its own line.
             All elements are indented by one except the first element.
 

See Also:
Constant Field Values

WRAP_NO_SPLIT

public static final int WRAP_NO_SPLIT
 FORMATTER / Value to disable alignment.
 

See Also:
Constant Field Values

WRAP_ONE_PER_LINE

public static final int WRAP_ONE_PER_LINE
 FORMATTER / The wrapping is done by putting each element on its own line.
 

See Also:
Constant Field Values
Constructor Detail

DefaultCodeFormatterConstants

public DefaultCodeFormatterConstants()
Method Detail

createAlignmentValue

public static java.lang.String createAlignmentValue(boolean forceSplit,
                                                    int wrapStyle,
                                                    int indentStyle)
Create a new alignment value according to the given values. This must be used to set up the alignment options.

Parameters:
forceSplit - the given force value
wrapStyle - the given wrapping style
indentStyle - the given indent style
Returns:
the new alignement value

getDefaultSettings

public static java.util.Map getDefaultSettings()
Returns the default formatter settings

Returns:
the default settings

getKandRSettings

public static java.util.Map getKandRSettings()
Returns the K&R formatter settings

Returns:
the K&R settings

getAllmanSettings

public static java.util.Map getAllmanSettings()
Returns the Allman formatter settings

Returns:
the Allman settings

getGNUSettings

public static java.util.Map getGNUSettings()
Returns the GNU formatter settings

Returns:
the GNU settings

getWhitesmithsSettings

public static java.util.Map getWhitesmithsSettings()
Returns the Whitesmiths formatter settings

Returns:
the Whitesmiths settings

getForceWrapping

public static boolean getForceWrapping(java.lang.String value)

Return the force value of the given alignment value. The given alignment value should be created using the createAlignmentValue(boolean, int, int) API.

Parameters:
value - the given alignment value
Returns:
the force value of the given alignment value
Throws:
java.lang.IllegalArgumentException - if the given alignment value is null, or if it doesn't have a valid format.
See Also:
createAlignmentValue(boolean, int, int)

getIndentStyle

public static int getIndentStyle(java.lang.String value)

Return the indentation style of the given alignment value. The given alignment value should be created using the createAlignmentValue(boolean, int, int) API.

Parameters:
value - the given alignment value
Returns:
the indentation style of the given alignment value
Throws:
java.lang.IllegalArgumentException - if the given alignment value is null, or if it doesn't have a valid format.
See Also:
createAlignmentValue(boolean, int, int)

getWrappingStyle

public static int getWrappingStyle(java.lang.String value)

Return the wrapping style of the given alignment value. The given alignment value should be created using the createAlignmentValue(boolean, int, int) API.

Parameters:
value - the given alignment value
Returns:
the wrapping style of the given alignment value
Throws:
java.lang.IllegalArgumentException - if the given alignment value is null, or if it doesn't have a valid format.
See Also:
createAlignmentValue(boolean, int, int)

setForceWrapping

public static java.lang.String setForceWrapping(java.lang.String value,
                                                boolean force)

Set the force value of the given alignment value and return the new value. The given alignment value should be created using the createAlignmentValue(boolean, int, int) API.

Parameters:
value - the given alignment value
force - the given force value
Returns:
the new alignment value
Throws:
java.lang.IllegalArgumentException - if the given alignment value is null, or if it doesn't have a valid format.
See Also:
createAlignmentValue(boolean, int, int)

setIndentStyle

public static java.lang.String setIndentStyle(java.lang.String value,
                                              int indentStyle)

Set the indentation style of the given alignment value and return the new value. The given value should be created using the createAlignmentValue(boolean, int, int) API.

Parameters:
value - the given alignment value
indentStyle - the given indentation style
Returns:
the new alignment value
Throws:
java.lang.IllegalArgumentException - if the given alignment value is null, if the given indentation style is not one of the possible indentation styles, or if the given alignment value doesn't have a valid format.
See Also:
INDENT_BY_ONE, INDENT_DEFAULT, INDENT_ON_COLUMN, createAlignmentValue(boolean, int, int)

setWrappingStyle

public static java.lang.String setWrappingStyle(java.lang.String value,
                                                int wrappingStyle)

Set the wrapping style of the given alignment value and return the new value. The given value should be created using the createAlignmentValue(boolean, int, int) API.

Parameters:
value - the given alignment value
wrappingStyle - the given wrapping style
Returns:
the new alignment value
Throws:
java.lang.IllegalArgumentException - if the given alignment value is null, if the given wrapping style is not one of the possible wrapping styles, or if the given alignment value doesn't have a valid format.
See Also:
WRAP_COMPACT, WRAP_COMPACT_FIRST_BREAK, WRAP_NEXT_PER_LINE, WRAP_NEXT_SHIFTED, WRAP_NO_SPLIT, WRAP_ONE_PER_LINE, createAlignmentValue(boolean, int, int)