mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fixed IDEA-117789 Eclipse code style import: "Never join already wrapped lines" seems to be ignored
This commit is contained in:
@@ -60,7 +60,7 @@ org.eclipse.jdt.core.formatter.blank_lines_before_package=Java:BLANK_LINES_BEFOR
|
||||
#org.eclipse.jdt.core.formatter.comment.format_line_comments=
|
||||
#org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=
|
||||
#org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=
|
||||
#org.eclipse.jdt.core.formatter.join_wrapped_lines=
|
||||
org.eclipse.jdt.core.formatter.join_wrapped_lines=Java:KEEP_LINE_BREAKS
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=Java:<Programmatic>
|
||||
#org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=Java:SPACE_BEFORE_COMMA
|
||||
|
||||
@@ -143,6 +143,7 @@ public class EclipseSettingsImportTest extends PlatformTestCase {
|
||||
javaSettings.SPACE_BEFORE_METHOD_LBRACE = false;
|
||||
javaSettings.SPACE_BEFORE_CLASS_LBRACE = false;
|
||||
javaSettings.SPACE_BEFORE_ANOTATION_PARAMETER_LIST = true;
|
||||
javaSettings.KEEP_LINE_BREAKS = false;
|
||||
|
||||
InputStream inputStream = new FileInputStream(input);
|
||||
try {
|
||||
@@ -257,6 +258,7 @@ public class EclipseSettingsImportTest extends PlatformTestCase {
|
||||
assertTrue(javaSettings.SPACE_BEFORE_METHOD_LBRACE);
|
||||
assertTrue(javaSettings.SPACE_BEFORE_CLASS_LBRACE);
|
||||
assertFalse(javaSettings.SPACE_BEFORE_ANOTATION_PARAMETER_LIST);
|
||||
assertTrue(javaSettings.KEEP_LINE_BREAKS);
|
||||
}
|
||||
finally {
|
||||
inputStream.close();
|
||||
|
||||
Reference in New Issue
Block a user