You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Real-time-monitoring/sz-build/baeldung-style.xml

24 lines
1.6 KiB
XML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<profiles version="21">
<profile kind="CodeFormatterProfile" name="baeldung-style" version="21">
<!--缩进字符:space/tab-->
<setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="space"/>
<!--用于对缩进和空格进行行包装,默认为FALSE-->
<setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4"/>
<!--以在同一行上保留else语句,默认为false-->
<setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line" value="true"/>
<!--在方法声明中,在参数列表前插入空行-->
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="1"/>
<!--在第一个类body声明之前添加空行,-默认值:"0"-->
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration" value="1"/>
<!--用于控制javadoc注释是否被格式化默认为TRUE-->
<setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true"/>
<!--代码行的最大长度,当代码行超过这个长度时,格式化工具会尝试在合适的位置进行换行-->
<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="160"/>
<!-- other settings... -->
<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>
<setting id="org.eclipse.jdt.core.formatter.enabling_tag" value="@formatter:on"/>
</profile>
</profiles>