From e55b8e09ab48aa61ac7503512670ec59c751bd0f Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 11 Mar 2012 21:07:36 +0400 Subject: [PATCH] show off: enable closure folding by default --- .../codeInsight/folding/impl/JavaCodeFoldingSettingsImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/java-impl/src/com/intellij/codeInsight/folding/impl/JavaCodeFoldingSettingsImpl.java b/java/java-impl/src/com/intellij/codeInsight/folding/impl/JavaCodeFoldingSettingsImpl.java index d1b5d6c516c2..396d335f34dc 100644 --- a/java/java-impl/src/com/intellij/codeInsight/folding/impl/JavaCodeFoldingSettingsImpl.java +++ b/java/java-impl/src/com/intellij/codeInsight/folding/impl/JavaCodeFoldingSettingsImpl.java @@ -151,7 +151,7 @@ public class JavaCodeFoldingSettingsImpl extends JavaCodeFoldingSettings impleme @SuppressWarnings({"WeakerAccess"}) public boolean COLLAPSE_INNER_CLASSES = false; @SuppressWarnings({"WeakerAccess"}) public boolean COLLAPSE_ANONYMOUS_CLASSES = false; @SuppressWarnings({"WeakerAccess"}) public boolean COLLAPSE_ANNOTATIONS = false; - @SuppressWarnings({"WeakerAccess"}) public boolean COLLAPSE_CLOSURES = false; + @SuppressWarnings({"WeakerAccess"}) public boolean COLLAPSE_CLOSURES = true; @SuppressWarnings({"WeakerAccess"}) public boolean COLLAPSE_CONSTRUCTOR_GENERIC_PARAMETERS = true; @SuppressWarnings({"WeakerAccess"}) public boolean COLLAPSE_I18N_MESSAGES = true; @SuppressWarnings({"WeakerAccess"}) public boolean COLLAPSE_SUPPRESS_WARNINGS = true;