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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <component name="ProjectCodeStyleConfiguration">
  2. <code_scheme name="Project" version="173">
  3. <ComposeCustomCodeStyleSettings>
  4. <option name="USE_CUSTOM_FORMATTING_FOR_MODIFIERS" value="false" />
  5. </ComposeCustomCodeStyleSettings>
  6. <DBN-PSQL>
  7. <case-options enabled="true">
  8. <option name="KEYWORD_CASE" value="lower" />
  9. <option name="FUNCTION_CASE" value="lower" />
  10. <option name="PARAMETER_CASE" value="lower" />
  11. <option name="DATATYPE_CASE" value="lower" />
  12. <option name="OBJECT_CASE" value="preserve" />
  13. </case-options>
  14. <formatting-settings enabled="false" />
  15. </DBN-PSQL>
  16. <DBN-SQL>
  17. <case-options enabled="true">
  18. <option name="KEYWORD_CASE" value="lower" />
  19. <option name="FUNCTION_CASE" value="lower" />
  20. <option name="PARAMETER_CASE" value="lower" />
  21. <option name="DATATYPE_CASE" value="lower" />
  22. <option name="OBJECT_CASE" value="preserve" />
  23. </case-options>
  24. <formatting-settings enabled="false">
  25. <option name="STATEMENT_SPACING" value="one_line" />
  26. <option name="CLAUSE_CHOP_DOWN" value="chop_down_if_statement_long" />
  27. <option name="ITERATION_ELEMENTS_WRAPPING" value="chop_down_if_not_single" />
  28. </formatting-settings>
  29. </DBN-SQL>
  30. <JetCodeStyleSettings>
  31. <option name="SPACE_AROUND_RANGE" value="true" />
  32. <option name="SPACE_BEFORE_TYPE_COLON" value="true" />
  33. <option name="WRAP_ELVIS_EXPRESSIONS" value="2" />
  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="130" />
  176. <option name="KEEP_LINE_BREAKS" value="false" />
  177. <option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
  178. <option name="ALIGN_MULTILINE_EXTENDS_LIST" value="true" />
  179. <option name="ALIGN_MULTILINE_METHOD_BRACKETS" value="true" />
  180. <option name="VARIABLE_ANNOTATION_WRAP" value="2" />
  181. <option name="ENUM_CONSTANTS_WRAP" value="2" />
  182. <option name="WRAP_ON_TYPING" value="0" />
  183. <indentOptions>
  184. <option name="KEEP_INDENTS_ON_EMPTY_LINES" value="true" />
  185. </indentOptions>
  186. </codeStyleSettings>
  187. </code_scheme>
  188. </component>