Project.xml 5.52 KB
Newer Older
1
2
<component name="ProjectCodeStyleConfiguration">
  <code_scheme name="Project" version="173">
Ganard's avatar
Ganard committed
3
    <option name="RIGHT_MARGIN" value="160" />
4
    <JetCodeStyleSettings>
Benoît Marty's avatar
Benoît Marty committed
5
6
      <option name="PACKAGES_TO_USE_STAR_IMPORTS">
        <value>
Benoît Marty's avatar
Benoît Marty committed
7
8
9
          <package name="kotlinx.android.synthetic" alias="false" withSubpackages="true" />
        </value>
      </option>
10
11
12
      <option name="ALIGN_IN_COLUMNS_CASE_BRANCH" value="true" />
      <option name="NAME_COUNT_TO_USE_STAR_IMPORT" value="2147483647" />
      <option name="NAME_COUNT_TO_USE_STAR_IMPORT_FOR_MEMBERS" value="2147483647" />
Benoît Marty's avatar
Benoît Marty committed
13
14
15
16
17
18
19
20
21
22
      <option name="CONTINUATION_INDENT_IN_PARAMETER_LISTS" value="true" />
      <option name="CONTINUATION_INDENT_IN_ARGUMENT_LISTS" value="true" />
      <option name="CONTINUATION_INDENT_FOR_EXPRESSION_BODIES" value="true" />
      <option name="CONTINUATION_INDENT_FOR_CHAINED_CALLS" value="true" />
      <option name="CONTINUATION_INDENT_IN_SUPERTYPE_LISTS" value="true" />
      <option name="CONTINUATION_INDENT_IN_IF_CONDITIONS" value="true" />
      <option name="CONTINUATION_INDENT_IN_ELVIS" value="true" />
      <option name="WRAP_EXPRESSION_BODY_FUNCTIONS" value="0" />
      <option name="IF_RPAREN_ON_NEW_LINE" value="false" />
      <option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
23
24
    </JetCodeStyleSettings>
    <codeStyleSettings language="XML">
Benoît Marty's avatar
Benoît Marty committed
25
26
27
28
      <option name="RIGHT_MARGIN" value="160" />
      <indentOptions>
        <option name="CONTINUATION_INDENT_SIZE" value="4" />
      </indentOptions>
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
      <arrangement>
        <rules>
          <section>
            <rule>
              <match>
                <AND>
                  <NAME>xmlns:android</NAME>
                  <XML_ATTRIBUTE />
                  <XML_NAMESPACE>^$</XML_NAMESPACE>
                </AND>
              </match>
            </rule>
          </section>
          <section>
            <rule>
              <match>
                <AND>
                  <NAME>xmlns:.*</NAME>
                  <XML_ATTRIBUTE />
                  <XML_NAMESPACE>^$</XML_NAMESPACE>
                </AND>
              </match>
              <order>BY_NAME</order>
            </rule>
          </section>
          <section>
            <rule>
              <match>
                <AND>
                  <NAME>.*:id</NAME>
                  <XML_ATTRIBUTE />
                  <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
                </AND>
              </match>
            </rule>
          </section>
          <section>
            <rule>
              <match>
                <AND>
                  <NAME>.*:name</NAME>
                  <XML_ATTRIBUTE />
                  <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
                </AND>
              </match>
            </rule>
          </section>
          <section>
            <rule>
              <match>
                <AND>
                  <NAME>name</NAME>
                  <XML_ATTRIBUTE />
                  <XML_NAMESPACE>^$</XML_NAMESPACE>
                </AND>
              </match>
            </rule>
          </section>
          <section>
            <rule>
              <match>
                <AND>
                  <NAME>style</NAME>
                  <XML_ATTRIBUTE />
                  <XML_NAMESPACE>^$</XML_NAMESPACE>
                </AND>
              </match>
            </rule>
          </section>
          <section>
            <rule>
              <match>
                <AND>
                  <NAME>.*</NAME>
                  <XML_ATTRIBUTE />
                  <XML_NAMESPACE>^$</XML_NAMESPACE>
                </AND>
              </match>
              <order>BY_NAME</order>
            </rule>
          </section>
          <section>
            <rule>
              <match>
                <AND>
                  <NAME>.*</NAME>
                  <XML_ATTRIBUTE />
                  <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
                </AND>
              </match>
              <order>ANDROID_ATTRIBUTE_ORDER</order>
            </rule>
          </section>
          <section>
            <rule>
              <match>
                <AND>
                  <NAME>.*</NAME>
                  <XML_ATTRIBUTE />
                  <XML_NAMESPACE>.*</XML_NAMESPACE>
                </AND>
              </match>
              <order>BY_NAME</order>
            </rule>
          </section>
        </rules>
      </arrangement>
    </codeStyleSettings>
    <codeStyleSettings language="kotlin">
Benoît Marty's avatar
Benoît Marty committed
138
      <option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
Benoît Marty's avatar
Benoît Marty committed
139
      <option name="RIGHT_MARGIN" value="160" />
140
141
142
      <option name="KEEP_BLANK_LINES_IN_DECLARATIONS" value="1" />
      <option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
      <option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="0" />
Benoît Marty's avatar
Benoît Marty committed
143
144
145
146
147
148
149
150
151
      <option name="CALL_PARAMETERS_WRAP" value="0" />
      <option name="CALL_PARAMETERS_LPAREN_ON_NEXT_LINE" value="false" />
      <option name="CALL_PARAMETERS_RPAREN_ON_NEXT_LINE" value="false" />
      <option name="METHOD_PARAMETERS_WRAP" value="0" />
      <option name="METHOD_PARAMETERS_LPAREN_ON_NEXT_LINE" value="false" />
      <option name="METHOD_PARAMETERS_RPAREN_ON_NEXT_LINE" value="false" />
      <option name="EXTENDS_LIST_WRAP" value="0" />
      <option name="METHOD_CALL_CHAIN_WRAP" value="0" />
      <option name="ASSIGNMENT_WRAP" value="0" />
152
153
      <option name="CLASS_ANNOTATION_WRAP" value="0" />
      <option name="FIELD_ANNOTATION_WRAP" value="1" />
154
155
156
    </codeStyleSettings>
  </code_scheme>
</component>