From 855783ee08a4dab9c12f46ff608f2fb49f6dde86 Mon Sep 17 00:00:00 2001 From: "Vassiliy.Kudryashov" Date: Sat, 27 May 2017 16:21:11 +0300 Subject: [PATCH] Find In Path: automatically show completion popup in focused 'file mask' field Piece of documentation for the new Key --- .../src/com/intellij/codeInsight/AutoPopupController.java | 5 +++++ 1 file changed, 5 insertions(+) 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;