学考乐离线App
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Project.xml 6.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <component name="ProjectCodeStyleConfiguration">
  2. <code_scheme name="Project" version="173">
  3. <DBN-PSQL>
  4. <case-options enabled="true">
  5. <option name="KEYWORD_CASE" value="lower" />
  6. <option name="FUNCTION_CASE" value="lower" />
  7. <option name="PARAMETER_CASE" value="lower" />
  8. <option name="DATATYPE_CASE" value="lower" />
  9. <option name="OBJECT_CASE" value="preserve" />
  10. </case-options>
  11. <formatting-settings enabled="false" />
  12. </DBN-PSQL>
  13. <DBN-SQL>
  14. <case-options enabled="true">
  15. <option name="KEYWORD_CASE" value="lower" />
  16. <option name="FUNCTION_CASE" value="lower" />
  17. <option name="PARAMETER_CASE" value="lower" />
  18. <option name="DATATYPE_CASE" value="lower" />
  19. <option name="OBJECT_CASE" value="preserve" />
  20. </case-options>
  21. <formatting-settings enabled="false">
  22. <option name="STATEMENT_SPACING" value="one_line" />
  23. <option name="CLAUSE_CHOP_DOWN" value="chop_down_if_statement_long" />
  24. <option name="ITERATION_ELEMENTS_WRAPPING" value="chop_down_if_not_single" />
  25. </formatting-settings>
  26. </DBN-SQL>
  27. <JavaCodeStyleSettings>
  28. <option name="JD_ALIGN_PARAM_COMMENTS" value="false" />
  29. <option name="JD_ALIGN_EXCEPTION_COMMENTS" value="false" />
  30. <option name="JD_DO_NOT_WRAP_ONE_LINE_COMMENTS" value="true" />
  31. <option name="JD_PRESERVE_LINE_FEEDS" value="true" />
  32. </JavaCodeStyleSettings>
  33. <JetCodeStyleSettings>
  34. <option name="SPACE_AROUND_RANGE" value="true" />
  35. <option name="SPACE_BEFORE_TYPE_COLON" value="true" />
  36. <option name="CONTINUATION_INDENT_IN_ARGUMENT_LISTS" value="true" />
  37. <option name="CONTINUATION_INDENT_FOR_EXPRESSION_BODIES" value="true" />
  38. <option name="CONTINUATION_INDENT_FOR_CHAINED_CALLS" value="true" />
  39. <option name="CONTINUATION_INDENT_IN_ELVIS" value="true" />
  40. <option name="IF_RPAREN_ON_NEW_LINE" value="false" />
  41. <option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
  42. </JetCodeStyleSettings>
  43. <codeStyleSettings language="XML">
  44. <option name="FORCE_REARRANGE_MODE" value="1" />
  45. <indentOptions>
  46. <option name="CONTINUATION_INDENT_SIZE" value="4" />
  47. </indentOptions>
  48. <arrangement>
  49. <rules>
  50. <section>
  51. <rule>
  52. <match>
  53. <AND>
  54. <NAME>xmlns:android</NAME>
  55. <XML_ATTRIBUTE />
  56. <XML_NAMESPACE>^$</XML_NAMESPACE>
  57. </AND>
  58. </match>
  59. </rule>
  60. </section>
  61. <section>
  62. <rule>
  63. <match>
  64. <AND>
  65. <NAME>xmlns:.*</NAME>
  66. <XML_ATTRIBUTE />
  67. <XML_NAMESPACE>^$</XML_NAMESPACE>
  68. </AND>
  69. </match>
  70. <order>BY_NAME</order>
  71. </rule>
  72. </section>
  73. <section>
  74. <rule>
  75. <match>
  76. <AND>
  77. <NAME>.*:id</NAME>
  78. <XML_ATTRIBUTE />
  79. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  80. </AND>
  81. </match>
  82. </rule>
  83. </section>
  84. <section>
  85. <rule>
  86. <match>
  87. <AND>
  88. <NAME>.*:name</NAME>
  89. <XML_ATTRIBUTE />
  90. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  91. </AND>
  92. </match>
  93. </rule>
  94. </section>
  95. <section>
  96. <rule>
  97. <match>
  98. <AND>
  99. <NAME>name</NAME>
  100. <XML_ATTRIBUTE />
  101. <XML_NAMESPACE>^$</XML_NAMESPACE>
  102. </AND>
  103. </match>
  104. </rule>
  105. </section>
  106. <section>
  107. <rule>
  108. <match>
  109. <AND>
  110. <NAME>style</NAME>
  111. <XML_ATTRIBUTE />
  112. <XML_NAMESPACE>^$</XML_NAMESPACE>
  113. </AND>
  114. </match>
  115. </rule>
  116. </section>
  117. <section>
  118. <rule>
  119. <match>
  120. <AND>
  121. <NAME>.*</NAME>
  122. <XML_ATTRIBUTE />
  123. <XML_NAMESPACE>^$</XML_NAMESPACE>
  124. </AND>
  125. </match>
  126. <order>BY_NAME</order>
  127. </rule>
  128. </section>
  129. <section>
  130. <rule>
  131. <match>
  132. <AND>
  133. <NAME>.*</NAME>
  134. <XML_ATTRIBUTE />
  135. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  136. </AND>
  137. </match>
  138. <order>ANDROID_ATTRIBUTE_ORDER</order>
  139. </rule>
  140. </section>
  141. <section>
  142. <rule>
  143. <match>
  144. <AND>
  145. <NAME>.*</NAME>
  146. <XML_ATTRIBUTE />
  147. <XML_NAMESPACE>.*</XML_NAMESPACE>
  148. </AND>
  149. </match>
  150. <order>BY_NAME</order>
  151. </rule>
  152. </section>
  153. </rules>
  154. </arrangement>
  155. </codeStyleSettings>
  156. <codeStyleSettings language="kotlin">
  157. <option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
  158. <option name="RIGHT_MARGIN" value="130" />
  159. <option name="KEEP_LINE_BREAKS" value="false" />
  160. <option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
  161. <option name="ALIGN_MULTILINE_BINARY_OPERATION" value="true" />
  162. <option name="ALIGN_MULTILINE_EXTENDS_LIST" value="true" />
  163. <option name="ALIGN_MULTILINE_METHOD_BRACKETS" value="true" />
  164. <option name="CALL_PARAMETERS_WRAP" value="1" />
  165. <option name="CALL_PARAMETERS_LPAREN_ON_NEXT_LINE" value="false" />
  166. <option name="CALL_PARAMETERS_RPAREN_ON_NEXT_LINE" value="false" />
  167. <option name="METHOD_PARAMETERS_LPAREN_ON_NEXT_LINE" value="false" />
  168. <option name="METHOD_PARAMETERS_RPAREN_ON_NEXT_LINE" value="false" />
  169. <option name="METHOD_CALL_CHAIN_WRAP" value="5" />
  170. <option name="ASSIGNMENT_WRAP" value="0" />
  171. <option name="VARIABLE_ANNOTATION_WRAP" value="2" />
  172. <option name="ENUM_CONSTANTS_WRAP" value="2" />
  173. <option name="WRAP_ON_TYPING" value="0" />
  174. <indentOptions>
  175. <option name="KEEP_INDENTS_ON_EMPTY_LINES" value="true" />
  176. </indentOptions>
  177. </codeStyleSettings>
  178. </code_scheme>
  179. </component>