Project.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <component name="ProjectCodeStyleConfiguration">
  2. <code_scheme name="Project" version="173">
  3. <JetCodeStyleSettings>
  4. <option name="PACKAGES_TO_USE_STAR_IMPORTS">
  5. <value>
  6. <package name="java.util" alias="false" withSubpackages="false" />
  7. <package name="kotlinx.android.synthetic" alias="false" withSubpackages="true" />
  8. <package name="io.ktor" alias="false" withSubpackages="true" />
  9. </value>
  10. </option>
  11. <option name="PACKAGES_IMPORT_LAYOUT">
  12. <value>
  13. <package name="" alias="false" withSubpackages="true" />
  14. <package name="java" alias="false" withSubpackages="true" />
  15. <package name="javax" alias="false" withSubpackages="true" />
  16. <package name="kotlin" alias="false" withSubpackages="true" />
  17. <package name="" alias="true" withSubpackages="true" />
  18. </value>
  19. </option>
  20. <option name="LBRACE_ON_NEXT_LINE" value="true" />
  21. <option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
  22. </JetCodeStyleSettings>
  23. <codeStyleSettings language="JAVA">
  24. <option name="BRACE_STYLE" value="2" />
  25. <option name="CLASS_BRACE_STYLE" value="2" />
  26. <option name="METHOD_BRACE_STYLE" value="2" />
  27. <option name="LAMBDA_BRACE_STYLE" value="2" />
  28. <indentOptions>
  29. <option name="INDENT_SIZE" value="2" />
  30. <option name="CONTINUATION_INDENT_SIZE" value="4" />
  31. <option name="TAB_SIZE" value="2" />
  32. </indentOptions>
  33. </codeStyleSettings>
  34. <codeStyleSettings language="XML">
  35. <option name="FORCE_REARRANGE_MODE" value="1" />
  36. <indentOptions>
  37. <option name="CONTINUATION_INDENT_SIZE" value="4" />
  38. </indentOptions>
  39. <arrangement>
  40. <rules>
  41. <section>
  42. <rule>
  43. <match>
  44. <AND>
  45. <NAME>xmlns:android</NAME>
  46. <XML_ATTRIBUTE />
  47. <XML_NAMESPACE>^$</XML_NAMESPACE>
  48. </AND>
  49. </match>
  50. </rule>
  51. </section>
  52. <section>
  53. <rule>
  54. <match>
  55. <AND>
  56. <NAME>xmlns:.*</NAME>
  57. <XML_ATTRIBUTE />
  58. <XML_NAMESPACE>^$</XML_NAMESPACE>
  59. </AND>
  60. </match>
  61. <order>BY_NAME</order>
  62. </rule>
  63. </section>
  64. <section>
  65. <rule>
  66. <match>
  67. <AND>
  68. <NAME>.*:id</NAME>
  69. <XML_ATTRIBUTE />
  70. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  71. </AND>
  72. </match>
  73. </rule>
  74. </section>
  75. <section>
  76. <rule>
  77. <match>
  78. <AND>
  79. <NAME>.*:name</NAME>
  80. <XML_ATTRIBUTE />
  81. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  82. </AND>
  83. </match>
  84. </rule>
  85. </section>
  86. <section>
  87. <rule>
  88. <match>
  89. <AND>
  90. <NAME>name</NAME>
  91. <XML_ATTRIBUTE />
  92. <XML_NAMESPACE>^$</XML_NAMESPACE>
  93. </AND>
  94. </match>
  95. </rule>
  96. </section>
  97. <section>
  98. <rule>
  99. <match>
  100. <AND>
  101. <NAME>style</NAME>
  102. <XML_ATTRIBUTE />
  103. <XML_NAMESPACE>^$</XML_NAMESPACE>
  104. </AND>
  105. </match>
  106. </rule>
  107. </section>
  108. <section>
  109. <rule>
  110. <match>
  111. <AND>
  112. <NAME>.*</NAME>
  113. <XML_ATTRIBUTE />
  114. <XML_NAMESPACE>^$</XML_NAMESPACE>
  115. </AND>
  116. </match>
  117. <order>BY_NAME</order>
  118. </rule>
  119. </section>
  120. <section>
  121. <rule>
  122. <match>
  123. <AND>
  124. <NAME>.*</NAME>
  125. <XML_ATTRIBUTE />
  126. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  127. </AND>
  128. </match>
  129. <order>ANDROID_ATTRIBUTE_ORDER</order>
  130. </rule>
  131. </section>
  132. <section>
  133. <rule>
  134. <match>
  135. <AND>
  136. <NAME>.*</NAME>
  137. <XML_ATTRIBUTE />
  138. <XML_NAMESPACE>.*</XML_NAMESPACE>
  139. </AND>
  140. </match>
  141. <order>BY_NAME</order>
  142. </rule>
  143. </section>
  144. </rules>
  145. </arrangement>
  146. </codeStyleSettings>
  147. <codeStyleSettings language="kotlin">
  148. <option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
  149. <indentOptions>
  150. <option name="INDENT_SIZE" value="2" />
  151. <option name="CONTINUATION_INDENT_SIZE" value="4" />
  152. <option name="TAB_SIZE" value="2" />
  153. </indentOptions>
  154. </codeStyleSettings>
  155. </code_scheme>
  156. </component>