spotless_dolphinscheduler_formatter.xml 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!--
  3. /**
  4. * Licensed to the Apache Software Foundation (ASF) under one
  5. * or more contributor license agreements. See the NOTICE file
  6. * distributed with this work for additional information
  7. * regarding copyright ownership. The ASF licenses this file
  8. * to you under the Apache License, Version 2.0 (the
  9. * "License"); you may not use this file except in compliance
  10. * with the License. You may obtain a copy of the License at
  11. *
  12. * http://www.apache.org/licenses/LICENSE-2.0
  13. *
  14. * Unless required by applicable law or agreed to in writing, software
  15. * distributed under the License is distributed on an "AS IS" BASIS,
  16. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17. * See the License for the specific language governing permissions and
  18. * limitations under the License.
  19. */
  20. -->
  21. <profiles version="22">
  22. <profile kind="CodeFormatterProfile" name="'DolphinScheduler Apache Current'" version="13">
  23. <setting id="org.eclipse.jdt.core.compiler.source" value="1.8" />
  24. <setting id="org.eclipse.jdt.core.compiler.compliance" value="1.8" />
  25. <setting id="org.eclipse.jdt.core.compiler.codegen.targetPlatform" value="1.8" />
  26. <setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="false" />
  27. <setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4" />
  28. <setting id="org.eclipse.jdt.core.formatter.lineSplit" value="120" />
  29. <setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="120" />
  30. <setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="space" />
  31. <setting id="org.eclipse.jdt.core.formatter.indentation.size" value="1" />
  32. <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration" value="1" />
  33. <setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="false" />
  34. <setting id="org.eclipse.jdt.core.formatter.join_wrapped_lines" value="false" />
  35. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional" value="insert" />
  36. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default" value="do not insert" />
  37. <setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="16" />
  38. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement" value="do not insert" />
  39. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case" value="do not insert" />
  40. <setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="80" />
  41. <setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="16" />
  42. <setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1" />
  43. <setting id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer" value="2" />
  44. <setting id="org.eclipse.jdt.core.formatter.alignment_for_resources_in_try" value="160" />
  45. <setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration" value="10" />
  46. <setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration" value="106" />
  47. <setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration" value="106" />
  48. <setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration" value="106" />
  49. <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call.count_dependent" value="16|5|80" />
  50. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing" value="insert"/>
  51. </profile>
  52. </profiles>