Closed elpete closed 3 years ago
The safe navigation operator causes a space to be added each run.
Settings File:
{ "alignment.consecutive.assignments":false, "alignment.consecutive.params":false, "alignment.consecutive.properties":false, "array.empty_padding":false, "array.multiline.element_count":4, "array.multiline.leading_comma":false, "array.multiline.leading_comma.padding":true, "array.multiline.min_length":40, "array.padding":true, "binary_operators.padding":true, "brackets.padding":true, "comment.asterisks":"align", "for_loop_semicolons.padding":true, "function_anonymous.empty_padding":false, "function_anonymous.group_to_block_spacing":"spaced", "function_anonymous.multiline.element_count":4, "function_anonymous.multiline.leading_comma":false, "function_anonymous.multiline.leading_comma.padding":true, "function_anonymous.multiline.min_length":40, "function_anonymous.padding":true, "function_call.casing.builtin":"cfdocs", "function_call.casing.userdefined":"camel", "function_call.empty_padding":false, "function_call.multiline.element_count":4, "function_call.multiline.leading_comma":false, "function_call.multiline.leading_comma.padding":true, "function_call.multiline.min_length":40, "function_call.padding":true, "function_declaration.empty_padding":false, "function_declaration.group_to_block_spacing":"spaced", "function_declaration.multiline.element_count":4, "function_declaration.multiline.leading_comma":false, "function_declaration.multiline.leading_comma.padding":true, "function_declaration.multiline.min_length":40, "function_declaration.padding":true, "indent_size":4, "keywords.block_to_keyword_spacing":"spaced", "keywords.empty_group_spacing":false, "keywords.group_to_block_spacing":"spaced", "keywords.padding_inside_group":true, "keywords.spacing_to_block":"spaced", "keywords.spacing_to_group":true, "max_columns":120, "method_call.chain.multiline":3, "newline":"\n", "parentheses.padding":true, "strings.attributes.quote":"double", "strings.quote":"double", "struct.empty_padding":false, "struct.multiline.element_count":4, "struct.multiline.leading_comma":false, "struct.multiline.leading_comma.padding":true, "struct.multiline.min_length":40, "struct.padding":true, "struct.separator":": ", "tab_indent":true }
Sample Code:
component { function run() { return test( param = optional?.method() ); } }
The safe navigation operator causes a space to be added each run.
Settings File:
Sample Code: