rmq_codeStyle.xml 7.7 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  -->

18
<code_scheme name="rocketmq">
Y
yukon 已提交
19 20
    <option name="USE_SAME_INDENTS" value="true"/>
    <option name="IGNORE_SAME_INDENTS_FOR_LANGUAGES" value="true"/>
21 22
    <option name="OTHER_INDENT_OPTIONS">
        <value>
Y
yukon 已提交
23 24 25 26 27 28 29 30
            <option name="INDENT_SIZE" value="4"/>
            <option name="CONTINUATION_INDENT_SIZE" value="4"/>
            <option name="TAB_SIZE" value="4"/>
            <option name="USE_TAB_CHARACTER" value="false"/>
            <option name="SMART_TABS" value="false"/>
            <option name="LABEL_INDENT_SIZE" value="0"/>
            <option name="LABEL_INDENT_ABSOLUTE" value="false"/>
            <option name="USE_RELATIVE_INDENTS" value="false"/>
31 32
        </value>
    </option>
Y
yukon 已提交
33 34 35
    <option name="PREFER_LONGER_NAMES" value="false"/>
    <option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="1000"/>
    <option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="1000"/>
36
    <option name="PACKAGES_TO_USE_IMPORT_ON_DEMAND">
Y
yukon 已提交
37
        <value/>
38 39 40
    </option>
    <option name="IMPORT_LAYOUT_TABLE">
        <value>
Y
yukon 已提交
41 42 43
            <package name="" withSubpackages="true" static="false"/>
            <emptyLine/>
            <package name="" withSubpackages="true" static="true"/>
44 45
        </value>
    </option>
Y
yukon 已提交
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
    <option name="JD_ALIGN_PARAM_COMMENTS" value="false"/>
    <option name="JD_ALIGN_EXCEPTION_COMMENTS" value="false"/>
    <option name="JD_P_AT_EMPTY_LINES" value="false"/>
    <option name="JD_KEEP_INVALID_TAGS" value="false"/>
    <option name="JD_DO_NOT_WRAP_ONE_LINE_COMMENTS" value="true"/>
    <option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false"/>
    <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="1"/>
    <option name="ELSE_ON_NEW_LINE" value="true"/>
    <option name="WHILE_ON_NEW_LINE" value="true"/>
    <option name="CATCH_ON_NEW_LINE" value="true"/>
    <option name="FINALLY_ON_NEW_LINE" value="true"/>
    <option name="ALIGN_MULTILINE_PARAMETERS" value="false"/>
    <option name="ALIGN_MULTILINE_FOR" value="false"/>
    <option name="SPACE_AFTER_TYPE_CAST" value="false"/>
    <option name="SPACE_BEFORE_ARRAY_INITIALIZER_LBRACE" value="true"/>
    <option name="METHOD_PARAMETERS_WRAP" value="1"/>
    <option name="ARRAY_INITIALIZER_LBRACE_ON_NEXT_LINE" value="true"/>
    <option name="LABELED_STATEMENT_WRAP" value="1"/>
    <option name="WRAP_COMMENTS" value="true"/>
    <option name="METHOD_ANNOTATION_WRAP" value="1"/>
    <option name="CLASS_ANNOTATION_WRAP" value="1"/>
    <option name="FIELD_ANNOTATION_WRAP" value="1"/>
70
    <JavaCodeStyleSettings>
Y
yukon 已提交
71
        <option name="CLASS_NAMES_IN_JAVADOC" value="3"/>
72 73
    </JavaCodeStyleSettings>
    <XML>
Y
yukon 已提交
74
        <option name="XML_LEGACY_SETTINGS_IMPORTED" value="true"/>
75 76
    </XML>
    <ADDITIONAL_INDENT_OPTIONS fileType="haml">
Y
yukon 已提交
77
        <option name="INDENT_SIZE" value="2"/>
78 79
    </ADDITIONAL_INDENT_OPTIONS>
    <codeStyleSettings language="Groovy">
Y
yukon 已提交
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
        <option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false"/>
        <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="1"/>
        <option name="ELSE_ON_NEW_LINE" value="true"/>
        <option name="CATCH_ON_NEW_LINE" value="true"/>
        <option name="FINALLY_ON_NEW_LINE" value="true"/>
        <option name="ALIGN_MULTILINE_PARAMETERS" value="false"/>
        <option name="ALIGN_MULTILINE_FOR" value="false"/>
        <option name="SPACE_AFTER_TYPE_CAST" value="false"/>
        <option name="METHOD_PARAMETERS_WRAP" value="1"/>
        <option name="METHOD_ANNOTATION_WRAP" value="1"/>
        <option name="CLASS_ANNOTATION_WRAP" value="1"/>
        <option name="FIELD_ANNOTATION_WRAP" value="1"/>
        <option name="PARENT_SETTINGS_INSTALLED" value="true"/>
95
        <indentOptions>
Y
yukon 已提交
96
            <option name="CONTINUATION_INDENT_SIZE" value="4"/>
97 98 99
        </indentOptions>
    </codeStyleSettings>
    <codeStyleSettings language="HOCON">
Y
yukon 已提交
100 101
        <option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="1"/>
        <option name="PARENT_SETTINGS_INSTALLED" value="true"/>
102 103
    </codeStyleSettings>
    <codeStyleSettings language="JAVA">
Y
yukon 已提交
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
        <option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false"/>
        <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="1"/>
        <option name="ELSE_ON_NEW_LINE" value="true"/>
        <option name="WHILE_ON_NEW_LINE" value="true"/>
        <option name="CATCH_ON_NEW_LINE" value="true"/>
        <option name="FINALLY_ON_NEW_LINE" value="true"/>
        <option name="ALIGN_MULTILINE_PARAMETERS" value="false"/>
        <option name="ALIGN_MULTILINE_FOR" value="false"/>
        <option name="SPACE_AFTER_TYPE_CAST" value="false"/>
        <option name="SPACE_BEFORE_ARRAY_INITIALIZER_LBRACE" value="true"/>
        <option name="METHOD_PARAMETERS_WRAP" value="1"/>
        <option name="ARRAY_INITIALIZER_LBRACE_ON_NEXT_LINE" value="true"/>
        <option name="LABELED_STATEMENT_WRAP" value="1"/>
        <option name="METHOD_ANNOTATION_WRAP" value="1"/>
        <option name="CLASS_ANNOTATION_WRAP" value="1"/>
        <option name="FIELD_ANNOTATION_WRAP" value="1"/>
        <option name="PARENT_SETTINGS_INSTALLED" value="true"/>
123
        <indentOptions>
Y
yukon 已提交
124
            <option name="CONTINUATION_INDENT_SIZE" value="4"/>
125 126 127
        </indentOptions>
    </codeStyleSettings>
    <codeStyleSettings language="JSON">
Y
yukon 已提交
128 129
        <option name="KEEP_BLANK_LINES_IN_CODE" value="1"/>
        <option name="PARENT_SETTINGS_INSTALLED" value="true"/>
130 131
    </codeStyleSettings>
    <codeStyleSettings language="Scala">
Y
yukon 已提交
132 133 134 135 136 137 138 139 140 141 142 143 144 145
        <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="1"/>
        <option name="ELSE_ON_NEW_LINE" value="true"/>
        <option name="WHILE_ON_NEW_LINE" value="true"/>
        <option name="CATCH_ON_NEW_LINE" value="true"/>
        <option name="FINALLY_ON_NEW_LINE" value="true"/>
        <option name="ALIGN_MULTILINE_PARAMETERS" value="false"/>
        <option name="ALIGN_MULTILINE_FOR" value="false"/>
        <option name="METHOD_PARAMETERS_WRAP" value="1"/>
        <option name="METHOD_ANNOTATION_WRAP" value="1"/>
        <option name="CLASS_ANNOTATION_WRAP" value="1"/>
        <option name="FIELD_ANNOTATION_WRAP" value="1"/>
        <option name="PARENT_SETTINGS_INSTALLED" value="true"/>
146
        <indentOptions>
Y
yukon 已提交
147 148 149
            <option name="INDENT_SIZE" value="4"/>
            <option name="CONTINUATION_INDENT_SIZE" value="4"/>
            <option name="TAB_SIZE" value="4"/>
150 151 152 153
        </indentOptions>
    </codeStyleSettings>
    <codeStyleSettings language="XML">
        <indentOptions>
Y
yukon 已提交
154
            <option name="CONTINUATION_INDENT_SIZE" value="4"/>
155 156 157
        </indentOptions>
    </codeStyleSettings>
</code_scheme>