Find In Path: automatically show completion popup in focused 'file mask' field

Piece of documentation for the new Key
This commit is contained in:
Vassiliy.Kudryashov
2017-05-27 16:21:11 +03:00
parent 104ce2210b
commit 855783ee08
@@ -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<Boolean> 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<Boolean> ALWAYS_AUTO_POPUP_NO_ADS = Key.create("Always Show Completion Auto-Popup");
private final Project myProject;