From 3e2bebb5c529c893ebe0d756e5f13e37c610c7af Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 29 Mar 2017 15:25:25 +0200 Subject: [PATCH] log completion contributor that caused autopopup (IDEA-170558) --- .../com/intellij/codeInsight/editorActions/TypedHandler.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/codeInsight/editorActions/TypedHandler.java b/platform/lang-impl/src/com/intellij/codeInsight/editorActions/TypedHandler.java index b4197506fb78..28aad16f052c 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/editorActions/TypedHandler.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/editorActions/TypedHandler.java @@ -293,7 +293,10 @@ public class TypedHandler extends TypedActionHandlerBase { if (element != null) { final List list = CompletionContributor.forLanguage(element.getLanguage()); for (CompletionContributor contributor : list) { - if (contributor.invokeAutoPopup(element, charTyped)) return true; + if (contributor.invokeAutoPopup(element, charTyped)) { + LOG.debug(contributor + " requested completion autopopup when typing '" + charTyped + "'"); + return true; + } } } }