IDEA-137372 Live templates speed search matching can honor group name in addition to the template prefix

This commit is contained in:
peter
2015-07-20 20:18:13 +02:00
parent 9bfea86cea
commit a68b1ab38b
@@ -75,10 +75,9 @@ class LiveTemplateTree extends CheckboxTree implements DataProvider, CopyProvide
}
if (object instanceof TemplateImpl) {
TemplateImpl template = (TemplateImpl)object;
return StringUtil.notNullize(template.getKey()) +
" " +
StringUtil.notNullize(template.getDescription()) +
" " +
return StringUtil.notNullize(template.getGroupName()) + " " +
StringUtil.notNullize(template.getKey()) + " " +
StringUtil.notNullize(template.getDescription()) + " " +
template.getTemplateText();
}
return "";