codeStyleSettings.xml 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project version="4">
  3. <component name="ProjectCodeStyleSettingsManager">
  4. <option name="PER_PROJECT_SETTINGS">
  5. <value>
  6. <option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="99" />
  7. <option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="99" />
  8. <option name="PACKAGES_TO_USE_IMPORT_ON_DEMAND">
  9. <value />
  10. </option>
  11. <option name="IMPORT_LAYOUT_TABLE">
  12. <value>
  13. <package name="android" withSubpackages="true" static="false" />
  14. <emptyLine />
  15. <package name="com" withSubpackages="true" static="false" />
  16. <emptyLine />
  17. <package name="junit" withSubpackages="true" static="false" />
  18. <emptyLine />
  19. <package name="net" withSubpackages="true" static="false" />
  20. <emptyLine />
  21. <package name="org" withSubpackages="true" static="false" />
  22. <emptyLine />
  23. <package name="java" withSubpackages="true" static="false" />
  24. <emptyLine />
  25. <package name="javax" withSubpackages="true" static="false" />
  26. <emptyLine />
  27. <package name="" withSubpackages="true" static="false" />
  28. <emptyLine />
  29. <package name="" withSubpackages="true" static="true" />
  30. <emptyLine />
  31. </value>
  32. </option>
  33. <option name="RIGHT_MARGIN" value="100" />
  34. <AndroidXmlCodeStyleSettings>
  35. <option name="USE_CUSTOM_SETTINGS" value="true" />
  36. </AndroidXmlCodeStyleSettings>
  37. <MarkdownNavigatorCodeStyleSettings>
  38. <option name="RIGHT_MARGIN" value="72" />
  39. </MarkdownNavigatorCodeStyleSettings>
  40. <Objective-C-extensions>
  41. <file>
  42. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Import" />
  43. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Macro" />
  44. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Typedef" />
  45. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Enum" />
  46. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Constant" />
  47. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Global" />
  48. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Struct" />
  49. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="FunctionPredecl" />
  50. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Function" />
  51. </file>
  52. <class>
  53. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Property" />
  54. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Synthesize" />
  55. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InitMethod" />
  56. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="StaticMethod" />
  57. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InstanceMethod" />
  58. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="DeallocMethod" />
  59. </class>
  60. <extensions>
  61. <pair source="cpp" header="h" />
  62. <pair source="c" header="h" />
  63. </extensions>
  64. </Objective-C-extensions>
  65. <XML>
  66. <option name="XML_KEEP_LINE_BREAKS" value="false" />
  67. <option name="XML_ALIGN_ATTRIBUTES" value="false" />
  68. <option name="XML_SPACE_INSIDE_EMPTY_TAG" value="true" />
  69. </XML>
  70. <codeStyleSettings language="XML">
  71. <option name="FORCE_REARRANGE_MODE" value="1" />
  72. <indentOptions>
  73. <option name="CONTINUATION_INDENT_SIZE" value="4" />
  74. </indentOptions>
  75. <arrangement>
  76. <rules>
  77. <section>
  78. <rule>
  79. <match>
  80. <AND>
  81. <NAME>xmlns:android</NAME>
  82. <XML_NAMESPACE>^$</XML_NAMESPACE>
  83. </AND>
  84. </match>
  85. </rule>
  86. </section>
  87. <section>
  88. <rule>
  89. <match>
  90. <AND>
  91. <NAME>xmlns:.*</NAME>
  92. <XML_NAMESPACE>^$</XML_NAMESPACE>
  93. </AND>
  94. </match>
  95. <order>BY_NAME</order>
  96. </rule>
  97. </section>
  98. <section>
  99. <rule>
  100. <match>
  101. <AND>
  102. <NAME>.*:id</NAME>
  103. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  104. </AND>
  105. </match>
  106. </rule>
  107. </section>
  108. <section>
  109. <rule>
  110. <match>
  111. <AND>
  112. <NAME>.*:name</NAME>
  113. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  114. </AND>
  115. </match>
  116. </rule>
  117. </section>
  118. <section>
  119. <rule>
  120. <match>
  121. <AND>
  122. <NAME>name</NAME>
  123. <XML_NAMESPACE>^$</XML_NAMESPACE>
  124. </AND>
  125. </match>
  126. </rule>
  127. </section>
  128. <section>
  129. <rule>
  130. <match>
  131. <AND>
  132. <NAME>style</NAME>
  133. <XML_NAMESPACE>^$</XML_NAMESPACE>
  134. </AND>
  135. </match>
  136. </rule>
  137. </section>
  138. <section>
  139. <rule>
  140. <match>
  141. <AND>
  142. <NAME>.*</NAME>
  143. <XML_NAMESPACE>^$</XML_NAMESPACE>
  144. </AND>
  145. </match>
  146. <order>BY_NAME</order>
  147. </rule>
  148. </section>
  149. <section>
  150. <rule>
  151. <match>
  152. <AND>
  153. <NAME>.*:layout_width</NAME>
  154. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  155. </AND>
  156. </match>
  157. </rule>
  158. </section>
  159. <section>
  160. <rule>
  161. <match>
  162. <AND>
  163. <NAME>.*:layout_height</NAME>
  164. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  165. </AND>
  166. </match>
  167. </rule>
  168. </section>
  169. <section>
  170. <rule>
  171. <match>
  172. <AND>
  173. <NAME>.*:layout_.*</NAME>
  174. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  175. </AND>
  176. </match>
  177. <order>BY_NAME</order>
  178. </rule>
  179. </section>
  180. <section>
  181. <rule>
  182. <match>
  183. <AND>
  184. <NAME>.*:width</NAME>
  185. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  186. </AND>
  187. </match>
  188. <order>BY_NAME</order>
  189. </rule>
  190. </section>
  191. <section>
  192. <rule>
  193. <match>
  194. <AND>
  195. <NAME>.*:height</NAME>
  196. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  197. </AND>
  198. </match>
  199. <order>BY_NAME</order>
  200. </rule>
  201. </section>
  202. <section>
  203. <rule>
  204. <match>
  205. <AND>
  206. <NAME>.*</NAME>
  207. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  208. </AND>
  209. </match>
  210. <order>BY_NAME</order>
  211. </rule>
  212. </section>
  213. <section>
  214. <rule>
  215. <match>
  216. <AND>
  217. <NAME>.*</NAME>
  218. <XML_NAMESPACE>.*</XML_NAMESPACE>
  219. </AND>
  220. </match>
  221. <order>BY_NAME</order>
  222. </rule>
  223. </section>
  224. </rules>
  225. </arrangement>
  226. </codeStyleSettings>
  227. </value>
  228. </option>
  229. <option name="PREFERRED_PROJECT_CODE_STYLE" value="Default (1)" />
  230. </component>
  231. </project>