log completion contributor that caused autopopup (IDEA-170558)

This commit is contained in:
peter
2017-03-29 16:26:47 +02:00
parent 7b0860c946
commit 3e2bebb5c5
@@ -293,7 +293,10 @@ public class TypedHandler extends TypedActionHandlerBase {
if (element != null) {
final List<CompletionContributor> 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;
}
}
}
}