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.

130 lines
3.9 KiB

5 years ago
  1. <component name="ProjectCodeStyleConfiguration">
  2. <code_scheme name="Project" version="173">
  3. <AndroidXmlCodeStyleSettings>
  4. <option name="USE_CUSTOM_SETTINGS" value="true" />
  5. </AndroidXmlCodeStyleSettings>
  6. <JetCodeStyleSettings>
  7. <option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
  8. </JetCodeStyleSettings>
  9. <XML>
  10. <option name="XML_KEEP_LINE_BREAKS" value="false" />
  11. <option name="XML_ALIGN_ATTRIBUTES" value="false" />
  12. <option name="XML_SPACE_INSIDE_EMPTY_TAG" value="true" />
  13. </XML>
  14. <codeStyleSettings language="XML">
  15. <option name="FORCE_REARRANGE_MODE" value="1" />
  16. <indentOptions>
  17. <option name="CONTINUATION_INDENT_SIZE" value="4" />
  18. </indentOptions>
  19. <arrangement>
  20. <rules>
  21. <section>
  22. <rule>
  23. <match>
  24. <AND>
  25. <NAME>xmlns:android</NAME>
  26. <XML_ATTRIBUTE />
  27. <XML_NAMESPACE>^$</XML_NAMESPACE>
  28. </AND>
  29. </match>
  30. </rule>
  31. </section>
  32. <section>
  33. <rule>
  34. <match>
  35. <AND>
  36. <NAME>xmlns:.*</NAME>
  37. <XML_ATTRIBUTE />
  38. <XML_NAMESPACE>^$</XML_NAMESPACE>
  39. </AND>
  40. </match>
  41. <order>BY_NAME</order>
  42. </rule>
  43. </section>
  44. <section>
  45. <rule>
  46. <match>
  47. <AND>
  48. <NAME>.*:id</NAME>
  49. <XML_ATTRIBUTE />
  50. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  51. </AND>
  52. </match>
  53. </rule>
  54. </section>
  55. <section>
  56. <rule>
  57. <match>
  58. <AND>
  59. <NAME>.*:name</NAME>
  60. <XML_ATTRIBUTE />
  61. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  62. </AND>
  63. </match>
  64. </rule>
  65. </section>
  66. <section>
  67. <rule>
  68. <match>
  69. <AND>
  70. <NAME>name</NAME>
  71. <XML_ATTRIBUTE />
  72. <XML_NAMESPACE>^$</XML_NAMESPACE>
  73. </AND>
  74. </match>
  75. </rule>
  76. </section>
  77. <section>
  78. <rule>
  79. <match>
  80. <AND>
  81. <NAME>style</NAME>
  82. <XML_ATTRIBUTE />
  83. <XML_NAMESPACE>^$</XML_NAMESPACE>
  84. </AND>
  85. </match>
  86. </rule>
  87. </section>
  88. <section>
  89. <rule>
  90. <match>
  91. <AND>
  92. <NAME>.*</NAME>
  93. <XML_ATTRIBUTE />
  94. <XML_NAMESPACE>^$</XML_NAMESPACE>
  95. </AND>
  96. </match>
  97. <order>BY_NAME</order>
  98. </rule>
  99. </section>
  100. <section>
  101. <rule>
  102. <match>
  103. <AND>
  104. <NAME>.*</NAME>
  105. <XML_ATTRIBUTE />
  106. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  107. </AND>
  108. </match>
  109. <order>ANDROID_ATTRIBUTE_ORDER</order>
  110. </rule>
  111. </section>
  112. <section>
  113. <rule>
  114. <match>
  115. <AND>
  116. <NAME>.*</NAME>
  117. <XML_ATTRIBUTE />
  118. <XML_NAMESPACE>.*</XML_NAMESPACE>
  119. </AND>
  120. </match>
  121. <order>BY_NAME</order>
  122. </rule>
  123. </section>
  124. </rules>
  125. </arrangement>
  126. </codeStyleSettings>
  127. <codeStyleSettings language="kotlin">
  128. <option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
  129. </codeStyleSettings>
  130. </code_scheme>
  131. </component>