From bae2266f332ab8ec74f5d4a01a29df36e1241426 Mon Sep 17 00:00:00 2001 From: Denis Zhdanov Date: Mon, 16 May 2011 12:12:37 +0400 Subject: [PATCH] IDEA-69648 Complete Current Statement: Correct 'for' completion Provided completion for standalone 'for' keyword --- .../editorActions/smartEnter/JavaSmartEnterProcessor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/java/java-impl/src/com/intellij/codeInsight/editorActions/smartEnter/JavaSmartEnterProcessor.java b/java/java-impl/src/com/intellij/codeInsight/editorActions/smartEnter/JavaSmartEnterProcessor.java index 8efc372f68be..1c8eb890e7ac 100644 --- a/java/java-impl/src/com/intellij/codeInsight/editorActions/smartEnter/JavaSmartEnterProcessor.java +++ b/java/java-impl/src/com/intellij/codeInsight/editorActions/smartEnter/JavaSmartEnterProcessor.java @@ -53,6 +53,7 @@ public class JavaSmartEnterProcessor extends SmartEnterProcessor { fixers.add(new LiteralFixer()); fixers.add(new MethodCallFixer()); fixers.add(new IfConditionFixer()); + fixers.add(new ForStatementFixer()); fixers.add(new WhileConditionFixer()); fixers.add(new CatchDeclarationFixer()); fixers.add(new SwitchExpressionFixer());