Skip to content

Commit 3356374

Browse files
authored
commonSettings.KEEP_LINE_BREAKS = true;
1 parent 37f230b commit 3356374

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/org/mediawiki/MediaWikiPhpPredefinedCodeStyle.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ public void apply(CodeStyleSettings settings) {
5757

5858
// Hard wrap at 120 characters
5959
commonSettings.RIGHT_MARGIN = 120;
60+
61+
// Keep line breaks when reformatting
62+
commonSettings.KEEP_LINE_BREAKS = true;
6063

6164
PhpCodeStyleSettings phpSettings = settings.getCustomSettings(PhpCodeStyleSettings.class);
6265
phpSettings.LOWER_CASE_BOOLEAN_CONST = true;

0 commit comments

Comments
 (0)