add a registry key to allow to preselect live templates in the autopopup

This commit is contained in:
peter
2013-11-02 20:41:18 +01:00
parent f7ae406fef
commit 8353b38f9e
2 changed files with 2 additions and 1 deletions
@@ -133,7 +133,7 @@ public class LiveTemplateCompletionContributor extends CompletionContributor {
@Override
public boolean skipElement(LookupElement element, CompletionLocation location) {
return element instanceof LiveTemplateLookupElement && ((LiveTemplateLookupElement)element).sudden;
return element instanceof LiveTemplateLookupElement && ((LiveTemplateLookupElement)element).sudden && !Registry.is("ide.completion.autopopup.select.live.templates");
}
}
@@ -213,6 +213,7 @@ ide.mac.fix.accessibleLeak=true
projectView.showHierarchyErrors=true
projectView.hide.dot.idea=true
show.live.templates.in.completion=false
ide.completion.autopopup.select.live.templates=false
documentation.component.editor.font=false
ide.completion.show.better.matching.classes=true