diff --git a/platform/lang-impl/src/com/intellij/codeInsight/AutoPopupController.java b/platform/lang-impl/src/com/intellij/codeInsight/AutoPopupController.java index 88c39803f21b..0d246fbb6e99 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/AutoPopupController.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/AutoPopupController.java @@ -56,6 +56,11 @@ public class AutoPopupController implements Disposable { * This doesn't affect other conditions when autopopup is not possible (e.g. power save mode). */ public static final Key ALWAYS_AUTO_POPUP = Key.create("Always Show Completion Auto-Popup"); + /** + * If editor has Boolean.TRUE by this key completion popup would be shown every time when editor gets focus + * and the popup wouldn't have advertising text in bottom. + * For example this key can be used for TextFieldWithAutoCompletion. (It looks like usual JTextField and completion shortcut is not obvious to be active.) + */ public static final Key ALWAYS_AUTO_POPUP_NO_ADS = Key.create("Always Show Completion Auto-Popup"); private final Project myProject;