intellij-java-google-style.xml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright 2024 Apollo Authors
  4. ~
  5. ~ Licensed under the Apache License, Version 2.0 (the "License");
  6. ~ you may not use this file except in compliance with the License.
  7. ~ You may obtain a copy of the License at
  8. ~
  9. ~ http://www.apache.org/licenses/LICENSE-2.0
  10. ~
  11. ~ Unless required by applicable law or agreed to in writing, software
  12. ~ distributed under the License is distributed on an "AS IS" BASIS,
  13. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. ~ See the License for the specific language governing permissions and
  15. ~ limitations under the License.
  16. ~
  17. -->
  18. <code_scheme name="GoogleStyle">
  19. <option name="OTHER_INDENT_OPTIONS">
  20. <value>
  21. <option name="INDENT_SIZE" value="2" />
  22. <option name="CONTINUATION_INDENT_SIZE" value="4" />
  23. <option name="TAB_SIZE" value="2" />
  24. <option name="USE_TAB_CHARACTER" value="false" />
  25. <option name="SMART_TABS" value="false" />
  26. <option name="LABEL_INDENT_SIZE" value="0" />
  27. <option name="LABEL_INDENT_ABSOLUTE" value="false" />
  28. <option name="USE_RELATIVE_INDENTS" value="false" />
  29. </value>
  30. </option>
  31. <option name="INSERT_INNER_CLASS_IMPORTS" value="true" />
  32. <option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="999" />
  33. <option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="999" />
  34. <option name="PACKAGES_TO_USE_IMPORT_ON_DEMAND">
  35. <value />
  36. </option>
  37. <option name="IMPORT_LAYOUT_TABLE">
  38. <value>
  39. <package name="" withSubpackages="true" static="true" />
  40. <emptyLine />
  41. <package name="" withSubpackages="true" static="false" />
  42. </value>
  43. </option>
  44. <option name="RIGHT_MARGIN" value="100" />
  45. <option name="JD_ALIGN_PARAM_COMMENTS" value="false" />
  46. <option name="JD_ALIGN_EXCEPTION_COMMENTS" value="false" />
  47. <option name="JD_P_AT_EMPTY_LINES" value="false" />
  48. <option name="JD_KEEP_EMPTY_PARAMETER" value="false" />
  49. <option name="JD_KEEP_EMPTY_EXCEPTION" value="false" />
  50. <option name="JD_KEEP_EMPTY_RETURN" value="false" />
  51. <option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false" />
  52. <option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="0" />
  53. <option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
  54. <option name="BLANK_LINES_AFTER_CLASS_HEADER" value="0" />
  55. <option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
  56. <option name="ALIGN_MULTILINE_FOR" value="false" />
  57. <option name="CALL_PARAMETERS_WRAP" value="1" />
  58. <option name="METHOD_PARAMETERS_WRAP" value="1" />
  59. <option name="EXTENDS_LIST_WRAP" value="1" />
  60. <option name="THROWS_KEYWORD_WRAP" value="1" />
  61. <option name="METHOD_CALL_CHAIN_WRAP" value="1" />
  62. <option name="BINARY_OPERATION_WRAP" value="1" />
  63. <option name="BINARY_OPERATION_SIGN_ON_NEXT_LINE" value="true" />
  64. <option name="TERNARY_OPERATION_WRAP" value="1" />
  65. <option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true" />
  66. <option name="FOR_STATEMENT_WRAP" value="1" />
  67. <option name="ARRAY_INITIALIZER_WRAP" value="1" />
  68. <option name="WRAP_COMMENTS" value="true" />
  69. <option name="IF_BRACE_FORCE" value="3" />
  70. <option name="DOWHILE_BRACE_FORCE" value="3" />
  71. <option name="WHILE_BRACE_FORCE" value="3" />
  72. <option name="FOR_BRACE_FORCE" value="3" />
  73. <option name="SPACE_BEFORE_ARRAY_INITIALIZER_LBRACE" value="true" />
  74. <AndroidXmlCodeStyleSettings>
  75. <option name="USE_CUSTOM_SETTINGS" value="true" />
  76. <option name="LAYOUT_SETTINGS">
  77. <value>
  78. <option name="INSERT_BLANK_LINE_BEFORE_TAG" value="false" />
  79. </value>
  80. </option>
  81. </AndroidXmlCodeStyleSettings>
  82. <JSCodeStyleSettings>
  83. <option name="INDENT_CHAINED_CALLS" value="false" />
  84. </JSCodeStyleSettings>
  85. <Python>
  86. <option name="USE_CONTINUATION_INDENT_FOR_ARGUMENTS" value="true" />
  87. </Python>
  88. <TypeScriptCodeStyleSettings>
  89. <option name="INDENT_CHAINED_CALLS" value="false" />
  90. </TypeScriptCodeStyleSettings>
  91. <XML>
  92. <option name="XML_ALIGN_ATTRIBUTES" value="false" />
  93. <option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
  94. </XML>
  95. <codeStyleSettings language="CSS">
  96. <indentOptions>
  97. <option name="INDENT_SIZE" value="2" />
  98. <option name="CONTINUATION_INDENT_SIZE" value="4" />
  99. <option name="TAB_SIZE" value="2" />
  100. </indentOptions>
  101. </codeStyleSettings>
  102. <codeStyleSettings language="ECMA Script Level 4">
  103. <option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
  104. <option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
  105. <option name="ALIGN_MULTILINE_FOR" value="false" />
  106. <option name="CALL_PARAMETERS_WRAP" value="1" />
  107. <option name="METHOD_PARAMETERS_WRAP" value="1" />
  108. <option name="EXTENDS_LIST_WRAP" value="1" />
  109. <option name="BINARY_OPERATION_WRAP" value="1" />
  110. <option name="BINARY_OPERATION_SIGN_ON_NEXT_LINE" value="true" />
  111. <option name="TERNARY_OPERATION_WRAP" value="1" />
  112. <option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true" />
  113. <option name="FOR_STATEMENT_WRAP" value="1" />
  114. <option name="ARRAY_INITIALIZER_WRAP" value="1" />
  115. <option name="IF_BRACE_FORCE" value="3" />
  116. <option name="DOWHILE_BRACE_FORCE" value="3" />
  117. <option name="WHILE_BRACE_FORCE" value="3" />
  118. <option name="FOR_BRACE_FORCE" value="3" />
  119. <option name="PARENT_SETTINGS_INSTALLED" value="true" />
  120. </codeStyleSettings>
  121. <codeStyleSettings language="HTML">
  122. <indentOptions>
  123. <option name="INDENT_SIZE" value="2" />
  124. <option name="CONTINUATION_INDENT_SIZE" value="4" />
  125. <option name="TAB_SIZE" value="2" />
  126. </indentOptions>
  127. </codeStyleSettings>
  128. <codeStyleSettings language="JAVA">
  129. <option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false" />
  130. <option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
  131. <option name="BLANK_LINES_AFTER_CLASS_HEADER" value="1" />
  132. <option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
  133. <option name="ALIGN_MULTILINE_RESOURCES" value="false" />
  134. <option name="ALIGN_MULTILINE_FOR" value="false" />
  135. <option name="CALL_PARAMETERS_WRAP" value="1" />
  136. <option name="METHOD_PARAMETERS_WRAP" value="1" />
  137. <option name="EXTENDS_LIST_WRAP" value="1" />
  138. <option name="THROWS_KEYWORD_WRAP" value="1" />
  139. <option name="METHOD_CALL_CHAIN_WRAP" value="1" />
  140. <option name="BINARY_OPERATION_WRAP" value="1" />
  141. <option name="BINARY_OPERATION_SIGN_ON_NEXT_LINE" value="true" />
  142. <option name="TERNARY_OPERATION_WRAP" value="1" />
  143. <option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true" />
  144. <option name="FOR_STATEMENT_WRAP" value="1" />
  145. <option name="ARRAY_INITIALIZER_WRAP" value="1" />
  146. <option name="WRAP_COMMENTS" value="true" />
  147. <option name="IF_BRACE_FORCE" value="3" />
  148. <option name="DOWHILE_BRACE_FORCE" value="3" />
  149. <option name="WHILE_BRACE_FORCE" value="3" />
  150. <option name="FOR_BRACE_FORCE" value="3" />
  151. <option name="PARENT_SETTINGS_INSTALLED" value="true" />
  152. <indentOptions>
  153. <option name="INDENT_SIZE" value="2" />
  154. <option name="CONTINUATION_INDENT_SIZE" value="4" />
  155. <option name="TAB_SIZE" value="2" />
  156. </indentOptions>
  157. </codeStyleSettings>
  158. <codeStyleSettings language="JSON">
  159. <indentOptions>
  160. <option name="CONTINUATION_INDENT_SIZE" value="4" />
  161. <option name="TAB_SIZE" value="2" />
  162. </indentOptions>
  163. </codeStyleSettings>
  164. <codeStyleSettings language="JavaScript">
  165. <option name="RIGHT_MARGIN" value="80" />
  166. <option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
  167. <option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
  168. <option name="ALIGN_MULTILINE_FOR" value="false" />
  169. <option name="CALL_PARAMETERS_WRAP" value="1" />
  170. <option name="METHOD_PARAMETERS_WRAP" value="1" />
  171. <option name="BINARY_OPERATION_WRAP" value="1" />
  172. <option name="BINARY_OPERATION_SIGN_ON_NEXT_LINE" value="true" />
  173. <option name="TERNARY_OPERATION_WRAP" value="1" />
  174. <option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true" />
  175. <option name="FOR_STATEMENT_WRAP" value="1" />
  176. <option name="ARRAY_INITIALIZER_WRAP" value="1" />
  177. <option name="IF_BRACE_FORCE" value="3" />
  178. <option name="DOWHILE_BRACE_FORCE" value="3" />
  179. <option name="WHILE_BRACE_FORCE" value="3" />
  180. <option name="FOR_BRACE_FORCE" value="3" />
  181. <option name="PARENT_SETTINGS_INSTALLED" value="true" />
  182. <indentOptions>
  183. <option name="INDENT_SIZE" value="2" />
  184. <option name="TAB_SIZE" value="2" />
  185. </indentOptions>
  186. </codeStyleSettings>
  187. <codeStyleSettings language="PROTO">
  188. <option name="RIGHT_MARGIN" value="80" />
  189. <indentOptions>
  190. <option name="INDENT_SIZE" value="2" />
  191. <option name="CONTINUATION_INDENT_SIZE" value="2" />
  192. <option name="TAB_SIZE" value="2" />
  193. </indentOptions>
  194. </codeStyleSettings>
  195. <codeStyleSettings language="protobuf">
  196. <option name="RIGHT_MARGIN" value="80" />
  197. <indentOptions>
  198. <option name="INDENT_SIZE" value="2" />
  199. <option name="CONTINUATION_INDENT_SIZE" value="2" />
  200. <option name="TAB_SIZE" value="2" />
  201. </indentOptions>
  202. </codeStyleSettings>
  203. <codeStyleSettings language="Python">
  204. <option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
  205. <option name="RIGHT_MARGIN" value="80" />
  206. <option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
  207. <option name="PARENT_SETTINGS_INSTALLED" value="true" />
  208. <indentOptions>
  209. <option name="INDENT_SIZE" value="2" />
  210. <option name="CONTINUATION_INDENT_SIZE" value="4" />
  211. <option name="TAB_SIZE" value="2" />
  212. </indentOptions>
  213. </codeStyleSettings>
  214. <codeStyleSettings language="SASS">
  215. <indentOptions>
  216. <option name="CONTINUATION_INDENT_SIZE" value="4" />
  217. <option name="TAB_SIZE" value="2" />
  218. </indentOptions>
  219. </codeStyleSettings>
  220. <codeStyleSettings language="SCSS">
  221. <indentOptions>
  222. <option name="CONTINUATION_INDENT_SIZE" value="4" />
  223. <option name="TAB_SIZE" value="2" />
  224. </indentOptions>
  225. </codeStyleSettings>
  226. <codeStyleSettings language="TypeScript">
  227. <indentOptions>
  228. <option name="INDENT_SIZE" value="2" />
  229. <option name="TAB_SIZE" value="2" />
  230. </indentOptions>
  231. </codeStyleSettings>
  232. <codeStyleSettings language="XML">
  233. <indentOptions>
  234. <option name="INDENT_SIZE" value="2" />
  235. <option name="CONTINUATION_INDENT_SIZE" value="2" />
  236. <option name="TAB_SIZE" value="2" />
  237. </indentOptions>
  238. <arrangement>
  239. <rules>
  240. <section>
  241. <rule>
  242. <match>
  243. <AND>
  244. <NAME>xmlns:android</NAME>
  245. <XML_ATTRIBUTE />
  246. <XML_NAMESPACE>^$</XML_NAMESPACE>
  247. </AND>
  248. </match>
  249. </rule>
  250. </section>
  251. <section>
  252. <rule>
  253. <match>
  254. <AND>
  255. <NAME>xmlns:.*</NAME>
  256. <XML_ATTRIBUTE />
  257. <XML_NAMESPACE>^$</XML_NAMESPACE>
  258. </AND>
  259. </match>
  260. <order>BY_NAME</order>
  261. </rule>
  262. </section>
  263. <section>
  264. <rule>
  265. <match>
  266. <AND>
  267. <NAME>.*:id</NAME>
  268. <XML_ATTRIBUTE />
  269. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  270. </AND>
  271. </match>
  272. </rule>
  273. </section>
  274. <section>
  275. <rule>
  276. <match>
  277. <AND>
  278. <NAME>style</NAME>
  279. <XML_ATTRIBUTE />
  280. <XML_NAMESPACE>^$</XML_NAMESPACE>
  281. </AND>
  282. </match>
  283. </rule>
  284. </section>
  285. <section>
  286. <rule>
  287. <match>
  288. <AND>
  289. <NAME>.*</NAME>
  290. <XML_ATTRIBUTE />
  291. <XML_NAMESPACE>^$</XML_NAMESPACE>
  292. </AND>
  293. </match>
  294. <order>BY_NAME</order>
  295. </rule>
  296. </section>
  297. <section>
  298. <rule>
  299. <match>
  300. <AND>
  301. <NAME>.*:.*Style</NAME>
  302. <XML_ATTRIBUTE />
  303. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  304. </AND>
  305. </match>
  306. <order>BY_NAME</order>
  307. </rule>
  308. </section>
  309. <section>
  310. <rule>
  311. <match>
  312. <AND>
  313. <NAME>.*:layout_width</NAME>
  314. <XML_ATTRIBUTE />
  315. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  316. </AND>
  317. </match>
  318. </rule>
  319. </section>
  320. <section>
  321. <rule>
  322. <match>
  323. <AND>
  324. <NAME>.*:layout_height</NAME>
  325. <XML_ATTRIBUTE />
  326. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  327. </AND>
  328. </match>
  329. </rule>
  330. </section>
  331. <section>
  332. <rule>
  333. <match>
  334. <AND>
  335. <NAME>.*:layout_weight</NAME>
  336. <XML_ATTRIBUTE />
  337. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  338. </AND>
  339. </match>
  340. </rule>
  341. </section>
  342. <section>
  343. <rule>
  344. <match>
  345. <AND>
  346. <NAME>.*:layout_margin</NAME>
  347. <XML_ATTRIBUTE />
  348. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  349. </AND>
  350. </match>
  351. </rule>
  352. </section>
  353. <section>
  354. <rule>
  355. <match>
  356. <AND>
  357. <NAME>.*:layout_marginTop</NAME>
  358. <XML_ATTRIBUTE />
  359. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  360. </AND>
  361. </match>
  362. </rule>
  363. </section>
  364. <section>
  365. <rule>
  366. <match>
  367. <AND>
  368. <NAME>.*:layout_marginBottom</NAME>
  369. <XML_ATTRIBUTE />
  370. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  371. </AND>
  372. </match>
  373. </rule>
  374. </section>
  375. <section>
  376. <rule>
  377. <match>
  378. <AND>
  379. <NAME>.*:layout_marginStart</NAME>
  380. <XML_ATTRIBUTE />
  381. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  382. </AND>
  383. </match>
  384. </rule>
  385. </section>
  386. <section>
  387. <rule>
  388. <match>
  389. <AND>
  390. <NAME>.*:layout_marginEnd</NAME>
  391. <XML_ATTRIBUTE />
  392. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  393. </AND>
  394. </match>
  395. </rule>
  396. </section>
  397. <section>
  398. <rule>
  399. <match>
  400. <AND>
  401. <NAME>.*:layout_marginLeft</NAME>
  402. <XML_ATTRIBUTE />
  403. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  404. </AND>
  405. </match>
  406. </rule>
  407. </section>
  408. <section>
  409. <rule>
  410. <match>
  411. <AND>
  412. <NAME>.*:layout_marginRight</NAME>
  413. <XML_ATTRIBUTE />
  414. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  415. </AND>
  416. </match>
  417. </rule>
  418. </section>
  419. <section>
  420. <rule>
  421. <match>
  422. <AND>
  423. <NAME>.*:layout_.*</NAME>
  424. <XML_ATTRIBUTE />
  425. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  426. </AND>
  427. </match>
  428. <order>BY_NAME</order>
  429. </rule>
  430. </section>
  431. <section>
  432. <rule>
  433. <match>
  434. <AND>
  435. <NAME>.*:padding</NAME>
  436. <XML_ATTRIBUTE />
  437. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  438. </AND>
  439. </match>
  440. </rule>
  441. </section>
  442. <section>
  443. <rule>
  444. <match>
  445. <AND>
  446. <NAME>.*:paddingTop</NAME>
  447. <XML_ATTRIBUTE />
  448. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  449. </AND>
  450. </match>
  451. </rule>
  452. </section>
  453. <section>
  454. <rule>
  455. <match>
  456. <AND>
  457. <NAME>.*:paddingBottom</NAME>
  458. <XML_ATTRIBUTE />
  459. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  460. </AND>
  461. </match>
  462. </rule>
  463. </section>
  464. <section>
  465. <rule>
  466. <match>
  467. <AND>
  468. <NAME>.*:paddingStart</NAME>
  469. <XML_ATTRIBUTE />
  470. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  471. </AND>
  472. </match>
  473. </rule>
  474. </section>
  475. <section>
  476. <rule>
  477. <match>
  478. <AND>
  479. <NAME>.*:paddingEnd</NAME>
  480. <XML_ATTRIBUTE />
  481. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  482. </AND>
  483. </match>
  484. </rule>
  485. </section>
  486. <section>
  487. <rule>
  488. <match>
  489. <AND>
  490. <NAME>.*:paddingLeft</NAME>
  491. <XML_ATTRIBUTE />
  492. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  493. </AND>
  494. </match>
  495. </rule>
  496. </section>
  497. <section>
  498. <rule>
  499. <match>
  500. <AND>
  501. <NAME>.*:paddingRight</NAME>
  502. <XML_ATTRIBUTE />
  503. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  504. </AND>
  505. </match>
  506. </rule>
  507. </section>
  508. <section>
  509. <rule>
  510. <match>
  511. <AND>
  512. <NAME>.*</NAME>
  513. <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
  514. </AND>
  515. </match>
  516. <order>BY_NAME</order>
  517. </rule>
  518. </section>
  519. <section>
  520. <rule>
  521. <match>
  522. <AND>
  523. <NAME>.*</NAME>
  524. <XML_NAMESPACE>http://schemas.android.com/apk/res-auto</XML_NAMESPACE>
  525. </AND>
  526. </match>
  527. <order>BY_NAME</order>
  528. </rule>
  529. </section>
  530. <section>
  531. <rule>
  532. <match>
  533. <AND>
  534. <NAME>.*</NAME>
  535. <XML_NAMESPACE>http://schemas.android.com/tools</XML_NAMESPACE>
  536. </AND>
  537. </match>
  538. <order>BY_NAME</order>
  539. </rule>
  540. </section>
  541. <section>
  542. <rule>
  543. <match>
  544. <AND>
  545. <NAME>.*</NAME>
  546. <XML_NAMESPACE>.*</XML_NAMESPACE>
  547. </AND>
  548. </match>
  549. <order>BY_NAME</order>
  550. </rule>
  551. </section>
  552. </rules>
  553. </arrangement>
  554. </codeStyleSettings>
  555. <Objective-C>
  556. <option name="INDENT_NAMESPACE_MEMBERS" value="0" />
  557. <option name="INDENT_C_STRUCT_MEMBERS" value="2" />
  558. <option name="INDENT_CLASS_MEMBERS" value="2" />
  559. <option name="INDENT_VISIBILITY_KEYWORDS" value="1" />
  560. <option name="INDENT_INSIDE_CODE_BLOCK" value="2" />
  561. <option name="KEEP_STRUCTURES_IN_ONE_LINE" value="true" />
  562. <option name="FUNCTION_PARAMETERS_WRAP" value="5" />
  563. <option name="FUNCTION_CALL_ARGUMENTS_WRAP" value="5" />
  564. <option name="TEMPLATE_CALL_ARGUMENTS_WRAP" value="5" />
  565. <option name="TEMPLATE_CALL_ARGUMENTS_ALIGN_MULTILINE" value="true" />
  566. <option name="ALIGN_INIT_LIST_IN_COLUMNS" value="false" />
  567. <option name="SPACE_BEFORE_SUPERCLASS_COLON" value="false" />
  568. </Objective-C>
  569. <Objective-C-extensions>
  570. <option name="GENERATE_INSTANCE_VARIABLES_FOR_PROPERTIES" value="ASK" />
  571. <option name="RELEASE_STYLE" value="IVAR" />
  572. <option name="TYPE_QUALIFIERS_PLACEMENT" value="BEFORE" />
  573. <file>
  574. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Import" />
  575. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Macro" />
  576. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Typedef" />
  577. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Enum" />
  578. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Constant" />
  579. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Global" />
  580. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Struct" />
  581. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="FunctionPredecl" />
  582. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Function" />
  583. </file>
  584. <class>
  585. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Property" />
  586. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Synthesize" />
  587. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InitMethod" />
  588. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="StaticMethod" />
  589. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InstanceMethod" />
  590. <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="DeallocMethod" />
  591. </class>
  592. <extensions>
  593. <pair source="cc" header="h" />
  594. <pair source="c" header="h" />
  595. </extensions>
  596. </Objective-C-extensions>
  597. <codeStyleSettings language="ObjectiveC">
  598. <option name="RIGHT_MARGIN" value="80" />
  599. <option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="1" />
  600. <option name="BLANK_LINES_BEFORE_IMPORTS" value="0" />
  601. <option name="BLANK_LINES_AFTER_IMPORTS" value="0" />
  602. <option name="BLANK_LINES_AROUND_CLASS" value="0" />
  603. <option name="BLANK_LINES_AROUND_METHOD" value="0" />
  604. <option name="BLANK_LINES_AROUND_METHOD_IN_INTERFACE" value="0" />
  605. <option name="ALIGN_MULTILINE_BINARY_OPERATION" value="false" />
  606. <option name="BINARY_OPERATION_SIGN_ON_NEXT_LINE" value="true" />
  607. <option name="FOR_STATEMENT_WRAP" value="1" />
  608. <option name="ASSIGNMENT_WRAP" value="1" />
  609. <indentOptions>
  610. <option name="INDENT_SIZE" value="2" />
  611. <option name="CONTINUATION_INDENT_SIZE" value="4" />
  612. </indentOptions>
  613. </codeStyleSettings>
  614. </code_scheme>