mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
doesn't show empty langs in postfix completion tree
This commit is contained in:
+4
@@ -91,6 +91,10 @@ public class PostfixTemplatesConfigurable implements SearchableConfigurable, Edi
|
||||
for (LanguageExtensionPoint extension : extensions) {
|
||||
List<PostfixTemplate> postfixTemplates =
|
||||
ContainerUtil.newArrayList(((PostfixTemplateProvider)extension.getInstance()).getTemplates());
|
||||
if (postfixTemplates.isEmpty()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
ContainerUtil.sort(postfixTemplates, TEMPLATE_COMPARATOR);
|
||||
|
||||
templateMultiMap.putValues(extension.getKey(), postfixTemplates);
|
||||
|
||||
Reference in New Issue
Block a user