codeStyleSettings.xml 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  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. <option name="JD_ALIGN_PARAM_COMMENTS" value="false" />
  35. <option name="JD_ALIGN_EXCEPTION_COMMENTS" value="false" />
  36. <option name="JD_P_AT_EMPTY_LINES" value="false" />
  37. <option name="WRAP_COMMENTS" value="true" />
  38. <AndroidXmlCodeStyleSettings>
  39. <option name="USE_CUSTOM_SETTINGS" value="true" />
  40. </AndroidXmlCodeStyleSettings>
  41. <MarkdownNavigatorCodeStyleSettings>
  42. <option name="RIGHT_MARGIN" value="72" />
  43. </MarkdownNavigatorCodeStyleSettings>
  44. <Objective-C-extensions>
  45. <option name="GENERATE_INSTANCE_VARIABLES_FOR_PROPERTIES" value="ASK" />
  46. <option name="RELEASE_STYLE" value="IVAR" />
  47. <option name="TYPE_QUALIFIERS_PLACEMENT" value="BEFORE" />
  48. <file>
  49. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Import" />
  50. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Macro" />
  51. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Typedef" />
  52. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Enum" />
  53. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Constant" />
  54. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Global" />
  55. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Struct" />
  56. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="FunctionPredecl" />
  57. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Function" />
  58. </file>
  59. <class>
  60. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Property" />
  61. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Synthesize" />
  62. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InitMethod" />
  63. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="StaticMethod" />
  64. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InstanceMethod" />
  65. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="DeallocMethod" />
  66. </class>
  67. <extensions>
  68. <pair source="cpp" header="h" />
  69. <pair source="c" header="h" />
  70. </extensions>
  71. </Objective-C-extensions>
  72. <XML>
  73. <option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
  74. </XML>
  75. <codeStyleSettings language="JAVA">
  76. <indentOptions>
  77. <option name="USE_TAB_CHARACTER" value="true" />
  78. <option name="SMART_TABS" value="true" />
  79. </indentOptions>
  80. </codeStyleSettings>
  81. <codeStyleSettings language="XML">
  82. <option name="FORCE_REARRANGE_MODE" value="1" />
  83. <indentOptions>
  84. <option name="CONTINUATION_INDENT_SIZE" value="4" />
  85. <option name="USE_TAB_CHARACTER" value="true" />
  86. <option name="SMART_TABS" value="true" />
  87. </indentOptions>
  88. <arrangement>
  89. <rules>
  90. <section>
  91. <rule>
  92. <match>
  93. <AND>
  94. <NAME>xmlns:android</NAME>
  95. <XML_NAMESPACE>^$</XML_NAMESPACE>
  96. </AND>
  97. </match>
  98. </rule>
  99. </section>
  100. <section>
  101. <rule>
  102. <match>
  103. <AND>
  104. <NAME>xmlns:.*</NAME>
  105. <XML_NAMESPACE>^$</XML_NAMESPACE>
  106. </AND>
  107. </match>
  108. <order>BY_NAME</order>
  109. </rule>
  110. </section>
  111. <section>
  112. <rule>
  113. <match>
  114. <AND>
  115. <NAME>.*:id</NAME>
  116. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  117. </AND>
  118. </match>
  119. </rule>
  120. </section>
  121. <section>
  122. <rule>
  123. <match>
  124. <AND>
  125. <NAME>.*:name</NAME>
  126. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  127. </AND>
  128. </match>
  129. </rule>
  130. </section>
  131. <section>
  132. <rule>
  133. <match>
  134. <AND>
  135. <NAME>name</NAME>
  136. <XML_NAMESPACE>^$</XML_NAMESPACE>
  137. </AND>
  138. </match>
  139. </rule>
  140. </section>
  141. <section>
  142. <rule>
  143. <match>
  144. <AND>
  145. <NAME>style</NAME>
  146. <XML_NAMESPACE>^$</XML_NAMESPACE>
  147. </AND>
  148. </match>
  149. </rule>
  150. </section>
  151. <section>
  152. <rule>
  153. <match>
  154. <AND>
  155. <NAME>.*</NAME>
  156. <XML_NAMESPACE>^$</XML_NAMESPACE>
  157. </AND>
  158. </match>
  159. <order>BY_NAME</order>
  160. </rule>
  161. </section>
  162. <section>
  163. <rule>
  164. <match>
  165. <AND>
  166. <NAME>.*:layout_width</NAME>
  167. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  168. </AND>
  169. </match>
  170. </rule>
  171. </section>
  172. <section>
  173. <rule>
  174. <match>
  175. <AND>
  176. <NAME>.*:layout_height</NAME>
  177. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  178. </AND>
  179. </match>
  180. </rule>
  181. </section>
  182. <section>
  183. <rule>
  184. <match>
  185. <AND>
  186. <NAME>.*:layout_.*</NAME>
  187. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  188. </AND>
  189. </match>
  190. <order>BY_NAME</order>
  191. </rule>
  192. </section>
  193. <section>
  194. <rule>
  195. <match>
  196. <AND>
  197. <NAME>.*:width</NAME>
  198. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  199. </AND>
  200. </match>
  201. <order>BY_NAME</order>
  202. </rule>
  203. </section>
  204. <section>
  205. <rule>
  206. <match>
  207. <AND>
  208. <NAME>.*:height</NAME>
  209. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  210. </AND>
  211. </match>
  212. <order>BY_NAME</order>
  213. </rule>
  214. </section>
  215. <section>
  216. <rule>
  217. <match>
  218. <AND>
  219. <NAME>.*</NAME>
  220. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  221. </AND>
  222. </match>
  223. <order>BY_NAME</order>
  224. </rule>
  225. </section>
  226. <section>
  227. <rule>
  228. <match>
  229. <AND>
  230. <NAME>.*</NAME>
  231. <XML_NAMESPACE>.*</XML_NAMESPACE>
  232. </AND>
  233. </match>
  234. <order>BY_NAME</order>
  235. </rule>
  236. </section>
  237. </rules>
  238. </arrangement>
  239. </codeStyleSettings>
  240. </value>
  241. </option>
  242. <option name="USE_PER_PROJECT_SETTINGS" value="true" />
  243. </component>
  244. </project>