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

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