private static void completeAttribute(PsiFile file, Template template) {
    template.addTextSegment(" ");
    template.addVariable(new MacroCallNode(new CompleteMacro()), true);
    template.addTextSegment("=" + XmlEditUtil.getAttributeQuote(file));
    template.addEndVariable();
    template.addTextSegment(XmlEditUtil.getAttributeQuote(file));
  }
private static void completeAttribute(PsiFile file, Template template)