JavaFolding: parameter names for literal call arguments are inlined by default

This commit is contained in:
Yaroslav Lepenkin
2014-06-24 19:13:41 +04:00
parent f2308597fe
commit e2a3793242
2 changed files with 1 additions and 2 deletions
@@ -14,7 +14,7 @@ public class JavaCodeFoldingSettingsBase extends JavaCodeFoldingSettings {
@SuppressWarnings({"WeakerAccess"}) public boolean COLLAPSE_I18N_MESSAGES = true;
@SuppressWarnings({"WeakerAccess"}) public boolean COLLAPSE_SUPPRESS_WARNINGS = true;
@SuppressWarnings({"WeakerAccess"}) public boolean COLLAPSE_END_OF_LINE_COMMENTS = false;
@SuppressWarnings({"WeakerAccess"}) public boolean INLINE_PARAMETER_NAMES_FOR_LITERAL_CALL_ARGUMENTS = false;
@SuppressWarnings({"WeakerAccess"}) public boolean INLINE_PARAMETER_NAMES_FOR_LITERAL_CALL_ARGUMENTS = true;
@Override
public boolean isCollapseImports() {
@@ -53,7 +53,6 @@ public class JavaFoldingTest extends LightCodeInsightFixtureTestCase {
myFoldingSettings = JavaCodeFoldingSettings.instance as JavaCodeFoldingSettingsImpl
myFoldingStateToRestore = new JavaCodeFoldingSettingsImpl()
myFoldingStateToRestore.loadState(myFoldingSettings)
myFoldingSettings.setInlineParameterNamesForLiteralCallArguments(true)
}
@Override