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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  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. <JetCodeStyleSettings>
  28. <option name="CONTINUATION_INDENT_IN_PARAMETER_LISTS" value="true" />
  29. <option name="CONTINUATION_INDENT_FOR_EXPRESSION_BODIES" value="true" />
  30. <option name="CONTINUATION_INDENT_IN_SUPERTYPE_LISTS" value="true" />
  31. <option name="WRAP_EXPRESSION_BODY_FUNCTIONS" value="0" />
  32. <option name="WRAP_ELVIS_EXPRESSIONS" value="0" />
  33. <option name="IF_RPAREN_ON_NEW_LINE" value="false" />
  34. <option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
  35. </JetCodeStyleSettings>
  36. <DBN-PSQL>
  37. <case-options enabled="true">
  38. <option name="KEYWORD_CASE" value="lower" />
  39. <option name="FUNCTION_CASE" value="lower" />
  40. <option name="PARAMETER_CASE" value="lower" />
  41. <option name="DATATYPE_CASE" value="lower" />
  42. <option name="OBJECT_CASE" value="preserve" />
  43. </case-options>
  44. <formatting-settings enabled="false" />
  45. </DBN-PSQL>
  46. <DBN-SQL>
  47. <case-options enabled="true">
  48. <option name="KEYWORD_CASE" value="lower" />
  49. <option name="FUNCTION_CASE" value="lower" />
  50. <option name="PARAMETER_CASE" value="lower" />
  51. <option name="DATATYPE_CASE" value="lower" />
  52. <option name="OBJECT_CASE" value="preserve" />
  53. </case-options>
  54. <formatting-settings enabled="false">
  55. <option name="STATEMENT_SPACING" value="one_line" />
  56. <option name="CLAUSE_CHOP_DOWN" value="chop_down_if_statement_long" />
  57. <option name="ITERATION_ELEMENTS_WRAPPING" value="chop_down_if_not_single" />
  58. </formatting-settings>
  59. </DBN-SQL>
  60. <codeStyleSettings language="XML">
  61. <option name="FORCE_REARRANGE_MODE" value="1" />
  62. <indentOptions>
  63. <option name="CONTINUATION_INDENT_SIZE" value="4" />
  64. </indentOptions>
  65. <arrangement>
  66. <rules>
  67. <section>
  68. <rule>
  69. <match>
  70. <AND>
  71. <NAME>xmlns:android</NAME>
  72. <XML_ATTRIBUTE />
  73. <XML_NAMESPACE>^$</XML_NAMESPACE>
  74. </AND>
  75. </match>
  76. </rule>
  77. </section>
  78. <section>
  79. <rule>
  80. <match>
  81. <AND>
  82. <NAME>xmlns:.*</NAME>
  83. <XML_ATTRIBUTE />
  84. <XML_NAMESPACE>^$</XML_NAMESPACE>
  85. </AND>
  86. </match>
  87. <order>BY_NAME</order>
  88. </rule>
  89. </section>
  90. <section>
  91. <rule>
  92. <match>
  93. <AND>
  94. <NAME>.*:id</NAME>
  95. <XML_ATTRIBUTE />
  96. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  97. </AND>
  98. </match>
  99. </rule>
  100. </section>
  101. <section>
  102. <rule>
  103. <match>
  104. <AND>
  105. <NAME>.*:name</NAME>
  106. <XML_ATTRIBUTE />
  107. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  108. </AND>
  109. </match>
  110. </rule>
  111. </section>
  112. <section>
  113. <rule>
  114. <match>
  115. <AND>
  116. <NAME>name</NAME>
  117. <XML_ATTRIBUTE />
  118. <XML_NAMESPACE>^$</XML_NAMESPACE>
  119. </AND>
  120. </match>
  121. </rule>
  122. </section>
  123. <section>
  124. <rule>
  125. <match>
  126. <AND>
  127. <NAME>style</NAME>
  128. <XML_ATTRIBUTE />
  129. <XML_NAMESPACE>^$</XML_NAMESPACE>
  130. </AND>
  131. </match>
  132. </rule>
  133. </section>
  134. <section>
  135. <rule>
  136. <match>
  137. <AND>
  138. <NAME>.*</NAME>
  139. <XML_ATTRIBUTE />
  140. <XML_NAMESPACE>^$</XML_NAMESPACE>
  141. </AND>
  142. </match>
  143. <order>BY_NAME</order>
  144. </rule>
  145. </section>
  146. <section>
  147. <rule>
  148. <match>
  149. <AND>
  150. <NAME>.*</NAME>
  151. <XML_ATTRIBUTE />
  152. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  153. </AND>
  154. </match>
  155. <order>ANDROID_ATTRIBUTE_ORDER</order>
  156. </rule>
  157. </section>
  158. <section>
  159. <rule>
  160. <match>
  161. <AND>
  162. <NAME>.*</NAME>
  163. <XML_ATTRIBUTE />
  164. <XML_NAMESPACE>.*</XML_NAMESPACE>
  165. </AND>
  166. </match>
  167. <order>BY_NAME</order>
  168. </rule>
  169. </section>
  170. </rules>
  171. </arrangement>
  172. </codeStyleSettings>
  173. <codeStyleSettings language="kotlin">
  174. <option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
  175. <option name="RIGHT_MARGIN" value="120" />
  176. <option name="KEEP_LINE_BREAKS" value="false" />
  177. <option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
  178. <option name="ALIGN_MULTILINE_METHOD_BRACKETS" value="true" />
  179. <option name="CALL_PARAMETERS_LPAREN_ON_NEXT_LINE" value="false" />
  180. <option name="CALL_PARAMETERS_RPAREN_ON_NEXT_LINE" value="false" />
  181. <option name="METHOD_PARAMETERS_LPAREN_ON_NEXT_LINE" value="false" />
  182. <option name="METHOD_PARAMETERS_RPAREN_ON_NEXT_LINE" value="false" />
  183. <option name="EXTENDS_LIST_WRAP" value="0" />
  184. </codeStyleSettings>
  185. </code_scheme>
  186. </component>