|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.core.formatter.DefaultCodeFormatterConstants
public class DefaultCodeFormatterConstants
Constants used to set up the options of the code formatter.
This class is not intended to be instantiated or subclassed by clients.
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 |
---|
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 classILanguage
ornull
- default: null
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 classIFile
ornull
- default: null
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 classITranslationUnit
ornull
- default: null
public static final java.lang.String END_OF_LINE
FORMATTER / Value to set a brace location at the end of a line.
#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 Valuespublic static final java.lang.String FALSE
FORMATTER / Value to set an option to false.
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)
createAlignmentValue(boolean, int, int)
,
Constant Field Valuespublic 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)
createAlignmentValue(boolean, int, int)
,
Constant Field Valuespublic 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)
createAlignmentValue(boolean, int, int)
,
Constant Field Valuespublic 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)
createAlignmentValue(boolean, int, int)
,
Constant Field Valuespublic 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
END_OF_LINE
,
NEXT_LINE
,
NEXT_LINE_SHIFTED
,
NEXT_LINE_ON_WRAP
,
Constant Field Valuespublic 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
END_OF_LINE
,
NEXT_LINE
,
NEXT_LINE_SHIFTED
,
NEXT_LINE_ON_WRAP
,
Constant Field Valuespublic 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
END_OF_LINE
,
NEXT_LINE
,
NEXT_LINE_SHIFTED
,
NEXT_LINE_ON_WRAP
,
Constant Field Valuespublic 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
END_OF_LINE
,
NEXT_LINE
,
NEXT_LINE_SHIFTED
,
NEXT_LINE_ON_WRAP
,
Constant Field Valuespublic 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
END_OF_LINE
,
NEXT_LINE
,
NEXT_LINE_SHIFTED
,
NEXT_LINE_ON_WRAP
,
Constant Field Valuespublic 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
END_OF_LINE
,
NEXT_LINE
,
NEXT_LINE_SHIFTED
,
NEXT_LINE_ON_WRAP
,
Constant Field Valuespublic 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
END_OF_LINE
,
NEXT_LINE
,
NEXT_LINE_SHIFTED
,
NEXT_LINE_ON_WRAP
,
Constant Field Valuespublic 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
TRUE
,
FALSE
,
Constant Field Valuespublic 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"
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"
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
TRUE
,
FALSE
,
Constant Field Valuespublic 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
TRUE
,
FALSE
,
Constant Field Valuespublic 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
TRUE
,
FALSE
,
Constant Field Valuespublic 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
TRUE
,
FALSE
,
Constant Field Valuespublic 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
TRUE
,
FALSE
,
Constant Field Valuespublic 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
TRUE
,
FALSE
,
Constant Field Valuespublic 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
TRUE
,
FALSE
,
Constant Field Valuespublic 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
TRUE
,
FALSE
,
Constant Field Valuespublic 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
TRUE
,
FALSE
,
Constant Field Valuespublic 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
TRUE
,
FALSE
,
Constant Field Valuespublic 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.
FORMATTER_TAB_CHAR
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
CCorePlugin.INSERT
,
CCorePlugin.DO_NOT_INSERT
,
Constant Field Valuespublic 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
TRUE
,
FALSE
,
Constant Field Valuespublic 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
TRUE
,
FALSE
,
Constant Field Valuespublic 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
TRUE
,
FALSE
,
Constant Field Valuespublic 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
TRUE
,
FALSE
,
Constant Field Valuespublic 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
TRUE
,
FALSE
,
Constant Field Valuespublic 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"
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"
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
TRUE
,
FALSE
,
Constant Field Valuespublic 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: TABMore values may be added in the future.
CCorePlugin.TAB
,
CCorePlugin.SPACE
,
MIXED
,
Constant Field Valuespublic 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"
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
TRUE
,
FALSE
,
Constant Field Valuespublic static final int INDENT_BY_ONE
FORMATTER / The wrapping is done by indenting by one compare to the current indentation.
public static final int INDENT_DEFAULT
FORMATTER / The wrapping is done by using the current indentation.
public static final int INDENT_ON_COLUMN
FORMATTER / The wrapping is done by indenting on column under the splitting location.
public static final java.lang.String MIXED
FORMATTER / Possible value for the option FORMATTER_TAB_CHAR
CCorePlugin.TAB
,
CCorePlugin.SPACE
,
FORMATTER_TAB_CHAR
,
Constant Field Valuespublic 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.
#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 Valuespublic 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.
#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 Valuespublic 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.
#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 Valuespublic static final java.lang.String TRUE
FORMATTER / Value to set an option to true.
public static final int WRAP_COMPACT
FORMATTER / The wrapping is done using as few lines as possible.
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.
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.
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.
public static final int WRAP_NO_SPLIT
FORMATTER / Value to disable alignment.
public static final int WRAP_ONE_PER_LINE
FORMATTER / The wrapping is done by putting each element on its own line.
Constructor Detail |
---|
public DefaultCodeFormatterConstants()
Method Detail |
---|
public static java.lang.String createAlignmentValue(boolean forceSplit, int wrapStyle, int indentStyle)
forceSplit
- the given force valuewrapStyle
- the given wrapping styleindentStyle
- the given indent style
public static java.util.Map getDefaultSettings()
public static java.util.Map getKandRSettings()
public static java.util.Map getAllmanSettings()
public static java.util.Map getGNUSettings()
public static java.util.Map getWhitesmithsSettings()
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.
value
- the given alignment value
java.lang.IllegalArgumentException
- if the given alignment value is null, or if it
doesn't have a valid format.createAlignmentValue(boolean, int, int)
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.
value
- the given alignment value
java.lang.IllegalArgumentException
- if the given alignment value is null, or if it
doesn't have a valid format.createAlignmentValue(boolean, int, int)
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.
value
- the given alignment value
java.lang.IllegalArgumentException
- if the given alignment value is null, or if it
doesn't have a valid format.createAlignmentValue(boolean, int, int)
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.
value
- the given alignment valueforce
- the given force value
java.lang.IllegalArgumentException
- if the given alignment value is null, or if it
doesn't have a valid format.createAlignmentValue(boolean, int, int)
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.
value
- the given alignment valueindentStyle
- the given indentation style
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.INDENT_BY_ONE
,
INDENT_DEFAULT
,
INDENT_ON_COLUMN
,
createAlignmentValue(boolean, int, int)
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.
value
- the given alignment valuewrappingStyle
- the given wrapping style
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.WRAP_COMPACT
,
WRAP_COMPACT_FIRST_BREAK
,
WRAP_NEXT_PER_LINE
,
WRAP_NEXT_SHIFTED
,
WRAP_NO_SPLIT
,
WRAP_ONE_PER_LINE
,
createAlignmentValue(boolean, int, int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |