学考乐离线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 7.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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. <DBN-PSQL>
  44. <case-options enabled="true">
  45. <option name="KEYWORD_CASE" value="lower" />
  46. <option name="FUNCTION_CASE" value="lower" />
  47. <option name="PARAMETER_CASE" value="lower" />
  48. <option name="DATATYPE_CASE" value="lower" />
  49. <option name="OBJECT_CASE" value="preserve" />
  50. </case-options>
  51. <formatting-settings enabled="false" />
  52. </DBN-PSQL>
  53. <DBN-SQL>
  54. <case-options enabled="true">
  55. <option name="KEYWORD_CASE" value="lower" />
  56. <option name="FUNCTION_CASE" value="lower" />
  57. <option name="PARAMETER_CASE" value="lower" />
  58. <option name="DATATYPE_CASE" value="lower" />
  59. <option name="OBJECT_CASE" value="preserve" />
  60. </case-options>
  61. <formatting-settings enabled="false">
  62. <option name="STATEMENT_SPACING" value="one_line" />
  63. <option name="CLAUSE_CHOP_DOWN" value="chop_down_if_statement_long" />
  64. <option name="ITERATION_ELEMENTS_WRAPPING" value="chop_down_if_not_single" />
  65. </formatting-settings>
  66. </DBN-SQL>
  67. <codeStyleSettings language="XML">
  68. <option name="FORCE_REARRANGE_MODE" value="1" />
  69. <indentOptions>
  70. <option name="CONTINUATION_INDENT_SIZE" value="4" />
  71. </indentOptions>
  72. <arrangement>
  73. <rules>
  74. <section>
  75. <rule>
  76. <match>
  77. <AND>
  78. <NAME>xmlns:android</NAME>
  79. <XML_ATTRIBUTE />
  80. <XML_NAMESPACE>^$</XML_NAMESPACE>
  81. </AND>
  82. </match>
  83. </rule>
  84. </section>
  85. <section>
  86. <rule>
  87. <match>
  88. <AND>
  89. <NAME>xmlns:.*</NAME>
  90. <XML_ATTRIBUTE />
  91. <XML_NAMESPACE>^$</XML_NAMESPACE>
  92. </AND>
  93. </match>
  94. <order>BY_NAME</order>
  95. </rule>
  96. </section>
  97. <section>
  98. <rule>
  99. <match>
  100. <AND>
  101. <NAME>.*:id</NAME>
  102. <XML_ATTRIBUTE />
  103. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  104. </AND>
  105. </match>
  106. </rule>
  107. </section>
  108. <section>
  109. <rule>
  110. <match>
  111. <AND>
  112. <NAME>.*:name</NAME>
  113. <XML_ATTRIBUTE />
  114. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  115. </AND>
  116. </match>
  117. </rule>
  118. </section>
  119. <section>
  120. <rule>
  121. <match>
  122. <AND>
  123. <NAME>name</NAME>
  124. <XML_ATTRIBUTE />
  125. <XML_NAMESPACE>^$</XML_NAMESPACE>
  126. </AND>
  127. </match>
  128. </rule>
  129. </section>
  130. <section>
  131. <rule>
  132. <match>
  133. <AND>
  134. <NAME>style</NAME>
  135. <XML_ATTRIBUTE />
  136. <XML_NAMESPACE>^$</XML_NAMESPACE>
  137. </AND>
  138. </match>
  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. <section>
  154. <rule>
  155. <match>
  156. <AND>
  157. <NAME>.*</NAME>
  158. <XML_ATTRIBUTE />
  159. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  160. </AND>
  161. </match>
  162. <order>ANDROID_ATTRIBUTE_ORDER</order>
  163. </rule>
  164. </section>
  165. <section>
  166. <rule>
  167. <match>
  168. <AND>
  169. <NAME>.*</NAME>
  170. <XML_ATTRIBUTE />
  171. <XML_NAMESPACE>.*</XML_NAMESPACE>
  172. </AND>
  173. </match>
  174. <order>BY_NAME</order>
  175. </rule>
  176. </section>
  177. </rules>
  178. </arrangement>
  179. </codeStyleSettings>
  180. <codeStyleSettings language="kotlin">
  181. <option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
  182. <option name="RIGHT_MARGIN" value="130" />
  183. <option name="KEEP_LINE_BREAKS" value="false" />
  184. <option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
  185. <option name="ALIGN_MULTILINE_BINARY_OPERATION" value="true" />
  186. <option name="ALIGN_MULTILINE_EXTENDS_LIST" value="true" />
  187. <option name="ALIGN_MULTILINE_METHOD_BRACKETS" value="true" />
  188. <option name="CALL_PARAMETERS_WRAP" value="1" />
  189. <option name="CALL_PARAMETERS_LPAREN_ON_NEXT_LINE" value="false" />
  190. <option name="CALL_PARAMETERS_RPAREN_ON_NEXT_LINE" value="false" />
  191. <option name="METHOD_PARAMETERS_LPAREN_ON_NEXT_LINE" value="false" />
  192. <option name="METHOD_PARAMETERS_RPAREN_ON_NEXT_LINE" value="false" />
  193. <option name="METHOD_CALL_CHAIN_WRAP" value="5" />
  194. <option name="ASSIGNMENT_WRAP" value="0" />
  195. <option name="VARIABLE_ANNOTATION_WRAP" value="2" />
  196. <option name="ENUM_CONSTANTS_WRAP" value="2" />
  197. <option name="WRAP_ON_TYPING" value="0" />
  198. <indentOptions>
  199. <option name="KEEP_INDENTS_ON_EMPTY_LINES" value="true" />
  200. </indentOptions>
  201. </codeStyleSettings>
  202. </code_scheme>
  203. </component>