public class LiveTemplateCompletionContributor extends CompletionContributor
EP
Constructor and Description |
---|
LiveTemplateCompletionContributor() |
Modifier and Type | Method and Description |
---|---|
static boolean |
customTemplateAvailableAndHasCompletionItem(java.lang.Character shortcutChar,
Editor editor,
PsiFile file,
int offset) |
static TemplateImpl |
findFullMatchedApplicableTemplate(Editor editor,
int offset,
java.util.Collection<? extends TemplateImpl> availableTemplates) |
static void |
setShowTemplatesInTests(boolean show,
Disposable parentDisposable) |
static boolean |
shouldShowAllTemplates() |
protected boolean |
showAllTemplates() |
advertise, beforeCompletion, duringCompletion, extend, fillCompletionVariants, forLanguage, forLanguageHonorDumbness, forParameters, handleAutoCompletionPossibility, handleEmptyLookup, invokeAutoPopup
public static void setShowTemplatesInTests(boolean show, Disposable parentDisposable)
public static boolean shouldShowAllTemplates()
public static boolean customTemplateAvailableAndHasCompletionItem(java.lang.Character shortcutChar, Editor editor, PsiFile file, int offset)
protected boolean showAllTemplates()
public static TemplateImpl findFullMatchedApplicableTemplate(Editor editor, int offset, java.util.Collection<? extends TemplateImpl> availableTemplates)