now XmlZenCodingInterpreter works for only live template and doesn't show pop-up
authorEugene Kudelevsky <Eugene.Kudelevsky@jetbrains.com>
Tue, 23 Mar 2010 17:32:03 +0000 (20:32 +0300)
committerEugene Kudelevsky <Eugene.Kudelevsky@jetbrains.com>
Tue, 23 Mar 2010 17:32:03 +0000 (20:32 +0300)
xml/impl/src/com/intellij/codeInsight/template/zencoding/XmlZenCodingTemplate.java

index 626f2d1ae6c5cfc86bc97ed3d6a1d0017209aeca..dc7c8667264355d4bff6d3c5226eb59e3dcac2be 100644 (file)
@@ -18,9 +18,7 @@ package com.intellij.codeInsight.template.zencoding;
 import com.intellij.application.options.editor.WebEditorOptions;
 import com.intellij.codeInsight.template.CustomTemplateCallback;
 import com.intellij.codeInsight.template.TemplateInvokationListener;
-import com.intellij.codeInsight.template.TemplateManager;
 import com.intellij.codeInsight.template.impl.TemplateImpl;
-import com.intellij.codeInsight.template.impl.TemplateSettings;
 import com.intellij.lang.xml.XMLLanguage;
 import com.intellij.openapi.editor.Editor;
 import com.intellij.openapi.fileTypes.FileType;
@@ -380,8 +378,8 @@ public class XmlZenCodingTemplate {
         return true;
       }
       // if it is simple live template invokation, we should start it using TemplateManager because template may be ambiguous
-      TemplateManager manager = TemplateManager.getInstance(file.getProject());
-      return manager.startTemplate(editor, TemplateSettings.getInstance().getDefaultShortcutChar());
+      /*TemplateManager manager = TemplateManager.getInstance(file.getProject());
+      return manager.startTemplate(editor, TemplateSettings.getInstance().getDefaultShortcutChar());*/
     }
     return false;
   }