This is an automated email from the ASF dual-hosted git repository.
tallison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/main by this push:
new 8076b2df7 update intellij-code-style.xml
8076b2df7 is described below
commit 8076b2df7445f9ea3c81c9ad0987a6cfcce2f210
Author: tallison <[email protected]>
AuthorDate: Wed Apr 10 10:58:43 2024 -0400
update intellij-code-style.xml
---
tika-parent/intellij-code-style.xml | 26 +++++---------------------
1 file changed, 5 insertions(+), 21 deletions(-)
diff --git a/tika-parent/intellij-code-style.xml
b/tika-parent/intellij-code-style.xml
index 3e6249b49..9768e08ba 100644
--- a/tika-parent/intellij-code-style.xml
+++ b/tika-parent/intellij-code-style.xml
@@ -1,22 +1,4 @@
-<!--
- 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.
--->
-<code_scheme name="Default" version="173">
+<code_scheme name="tika" version="173">
<JavaCodeStyleSettings>
<option name="ANNOTATION_PARAMETER_WRAP" value="1" />
<option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="100000" />
@@ -41,8 +23,9 @@
<option name="ENABLED" value="false" />
</editorconfig>
<codeStyleSettings language="JAVA">
- <option name="RIGHT_MARGIN" value="100" />
+ <option name="RIGHT_MARGIN" value="180" />
<option name="KEEP_LINE_BREAKS" value="false" />
+ <option name="ALIGN_MULTILINE_CHAINED_METHODS" value="true" />
<option name="CALL_PARAMETERS_WRAP" value="1" />
<option name="METHOD_PARAMETERS_WRAP" value="1" />
<option name="RESOURCE_LIST_WRAP" value="1" />
@@ -50,7 +33,8 @@
<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="METHOD_CALL_CHAIN_WRAP" value="2" />
+ <option name="WRAP_FIRST_METHOD_IN_CALL_CHAIN" value="true" />
<option name="BINARY_OPERATION_WRAP" value="1" />
<option name="TERNARY_OPERATION_WRAP" value="1" />
<option name="FOR_STATEMENT_WRAP" value="1" />