diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/completion/JavaAutoPopupTest.groovy b/java/java-tests/testSrc/com/intellij/codeInsight/completion/JavaAutoPopupTest.groovy index f25b1f39443c..b51438cbe24e 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/completion/JavaAutoPopupTest.groovy +++ b/java/java-tests/testSrc/com/intellij/codeInsight/completion/JavaAutoPopupTest.groovy @@ -125,7 +125,7 @@ class JavaAutoPopupTest extends CompletionAutoPopupTestCase { } - public void testNoAutopopupInTheMiddleOfIdentifier() { + public void _testNoAutopopupInTheMiddleOfIdentifier() { myFixture.configureByText("a.java", """ class Foo { String foo(String iterable) { diff --git a/platform/lang-impl/src/com/intellij/codeInsight/editorActions/CompletionAutoPopupHandler.java b/platform/lang-impl/src/com/intellij/codeInsight/editorActions/CompletionAutoPopupHandler.java index 7f4b908fce85..a8dedbe9deb3 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/editorActions/CompletionAutoPopupHandler.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/editorActions/CompletionAutoPopupHandler.java @@ -91,6 +91,7 @@ public class CompletionAutoPopupHandler extends TypedHandlerDelegate { } + /* if (!CompletionProgressIndicator.showHintAutopopup()) { final CharSequence text = editor.getDocument().getCharsSequence(); final int offset = editor.getSelectionModel().hasSelection() ? editor.getSelectionModel().getSelectionEnd() : editor.getCaretModel().getOffset(); @@ -98,6 +99,7 @@ public class CompletionAutoPopupHandler extends TypedHandlerDelegate { return Result.CONTINUE; } } + */ final boolean isMainEditor = FileEditorManager.getInstance(project).getSelectedTextEditor() == editor;