forked from stg-tud/opal-backup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
IntelliJ Java and Scala Formatter Preferences.xml
147 lines (147 loc) · 7.04 KB
/
IntelliJ Java and Scala Formatter Preferences.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
138
139
140
141
142
143
144
145
146
147
<code_scheme name="Java Conventions [maximum line width 100]" version="173">
<option name="RIGHT_MARGIN" value="100" />
<option name="FORMATTER_TAGS_ENABLED" value="true" />
<JavaCodeStyleSettings>
<option name="ANNOTATION_PARAMETER_WRAP" value="1" />
</JavaCodeStyleSettings>
<ScalaCodeStyleSettings>
<option name="classCountToUseImportOnDemand" value="32" />
<option name="collectImports" value="false" />
<option name="doNotChangeLocalImportsOnOptimize" value="false" />
<option name="importLayout">
<array>
<option value="scala.language" />
<option value="scala.annotation" />
<option value="scala.reflect" />
<option value="_______ blank line _______" />
<option value="java" />
<option value="_______ blank line _______" />
<option value="scala" />
<option value="_______ blank line _______" />
<option value="all other imports" />
<option value="_______ blank line _______" />
<option value="org.opalj.log" />
<option value="org.opalj.util" />
<option value="org.opalj.collection" />
<option value="org.opalj.concurrent" />
<option value="org.opalj.fpcf" />
<option value="org.opalj.bytecode" />
<option value="org.opalj.value" />
<option value="org.opalj.bi" />
<option value="org.opalj.da" />
<option value="org.opalj.br" />
<option value="org.opalj.bc" />
<option value="org.opalj.ba" />
<option value="org.opalj.ai" />
<option value="org.opalj.tac" />
<option value="org.opalj.de" />
<option value="org.opalj.av" />
</array>
</option>
<option name="importShortestPathForAmbiguousReferences" value="false" />
<option name="importsWithPrefix">
<array>
<option value="exclude:scala.collection.mutable.ArrayBuffer" />
<option value="exclude:scala.collection.mutable.ListBuffer" />
<option value="java.util.AbstractCollection" />
<option value="java.util.AbstractList" />
<option value="java.util.AbstractMap" />
<option value="java.util.AbstractQueue" />
<option value="java.util.AbstractSequentialList" />
<option value="java.util.AbstractSet" />
<option value="java.util.ArrayDeque" />
<option value="java.util.ArrayList" />
<option value="java.util.Arrays" />
<option value="java.util.BitSet" />
<option value="java.util.Collection" />
<option value="java.util.Deque" />
<option value="java.util.EnumMap" />
<option value="java.util.EnumSet" />
<option value="java.util.Enumeration" />
<option value="java.util.HashMap" />
<option value="java.util.HashSet" />
<option value="java.util.Hashtable" />
<option value="java.util.IdentityHashMap" />
<option value="java.util.Iterator" />
<option value="java.util.LinkedHashMap" />
<option value="java.util.LinkedHashSet" />
<option value="java.util.LinkedList" />
<option value="java.util.List" />
<option value="java.util.ListIterator" />
<option value="java.util.Map" />
<option value="java.util.NavigableMap" />
<option value="java.util.NavigableSet" />
<option value="java.util.Queue" />
<option value="java.util.Set" />
<option value="java.util.SortedMap" />
<option value="java.util.SortedSet" />
<option value="java.util.Stack" />
<option value="java.util.SubList" />
<option value="java.util.TreeMap" />
<option value="java.util.TreeSet" />
<option value="java.util.Vector" />
<option value="java.util.WeakHashMap" />
<option value="org.scalatest.fixture._" />
<option value="org.scalatest.path._" />
<option value="scala.reflect.macros.blackbox.Context" />
<option value="scala.reflect.macros.whitebox.Context" />
</array>
</option>
<option name="sortAsScalastyle" value="true" />
<option name="USE_SCALADOC2_FORMATTING" value="false" />
<option name="TYPE_ANNOTATION_EXCLUDE_MEMBER_OF_ANONYMOUS_CLASS" value="true" />
<option name="TYPE_ANNOTATION_EXCLUDE_MEMBER_OF_PRIVATE_CLASS" value="true" />
<option name="SD_BLANK_LINE_AFTER_PARAMETERS_COMMENTS" value="true" />
<option name="SD_BLANK_LINE_AFTER_RETURN_COMMENTS" value="true" />
<option name="SD_KEEP_BLANK_LINES_BETWEEN_TAGS" value="true" />
<option name="SD_PRESERVE_SPACES_IN_TAGS" value="true" />
<option name="REPLACE_CASE_ARROW_WITH_UNICODE_CHAR" value="true" />
<option name="REPLACE_MAP_ARROW_WITH_UNICODE_CHAR" value="true" />
<option name="REPLACE_FOR_GENERATOR_ARROW_WITH_UNICODE_CHAR" value="true" />
</ScalaCodeStyleSettings>
<codeStyleSettings language="JAVA">
<option name="KEEP_FIRST_COLUMN_COMMENT" value="false" />
<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="BLANK_LINES_AFTER_CLASS_HEADER" value="1" />
<option name="BLANK_LINES_AFTER_ANONYMOUS_CLASS_HEADER" value="1" />
<option name="INDENT_CASE_FROM_SWITCH" value="false" />
<option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
<option name="ALIGN_MULTILINE_RESOURCES" value="false" />
<option name="SPACE_WITHIN_ARRAY_INITIALIZER_BRACES" value="true" />
<option name="SPACE_BEFORE_ARRAY_INITIALIZER_LBRACE" value="true" />
<option name="CALL_PARAMETERS_WRAP" value="1" />
<option name="CALL_PARAMETERS_RPAREN_ON_NEXT_LINE" value="true" />
<option name="METHOD_PARAMETERS_WRAP" value="1" />
<option name="METHOD_PARAMETERS_RPAREN_ON_NEXT_LINE" value="true" />
<option name="RESOURCE_LIST_WRAP" value="5" />
<option name="EXTENDS_LIST_WRAP" value="1" />
<option name="THROWS_LIST_WRAP" value="1" />
<option name="EXTENDS_KEYWORD_WRAP" value="1" />
<option name="THROWS_KEYWORD_WRAP" value="1" />
<option name="METHOD_CALL_CHAIN_WRAP" value="1" />
<option name="BINARY_OPERATION_WRAP" value="1" />
<option name="BINARY_OPERATION_SIGN_ON_NEXT_LINE" value="true" />
<option name="TERNARY_OPERATION_WRAP" value="5" />
<option name="ARRAY_INITIALIZER_WRAP" value="1" />
<option name="ASSIGNMENT_WRAP" value="1" />
<option name="ASSERT_STATEMENT_WRAP" value="1" />
<option name="FIELD_ANNOTATION_WRAP" value="1" />
<option name="PARAMETER_ANNOTATION_WRAP" value="2" />
<option name="VARIABLE_ANNOTATION_WRAP" value="2" />
<option name="ENUM_CONSTANTS_WRAP" value="1" />
<indentOptions>
<option name="SMART_TABS" value="true" />
</indentOptions>
</codeStyleSettings>
<codeStyleSettings language="Scala">
<option name="MODIFIER_LIST_WRAP" value="true" />
<indentOptions>
<option name="INDENT_SIZE" value="4" />
<option name="CONTINUATION_INDENT_SIZE" value="4" />
<option name="TAB_SIZE" value="4" />
</indentOptions>
</codeStyleSettings>
</code_scheme>