diff --git a/idea/resources/liveTemplates/Kotlin.xml b/idea/resources/liveTemplates/Kotlin.xml
index 7342df2f1cb..7c32105fbf5 100644
--- a/idea/resources/liveTemplates/Kotlin.xml
+++ b/idea/resources/liveTemplates/Kotlin.xml
@@ -169,4 +169,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/idea/src/org/jetbrains/jet/plugin/liveTemplates/JetLiveTemplateCompletionContributor.java b/idea/src/org/jetbrains/jet/plugin/liveTemplates/JetLiveTemplateCompletionContributor.java
index e7388dcc7d1..142409c349e 100644
--- a/idea/src/org/jetbrains/jet/plugin/liveTemplates/JetLiveTemplateCompletionContributor.java
+++ b/idea/src/org/jetbrains/jet/plugin/liveTemplates/JetLiveTemplateCompletionContributor.java
@@ -73,8 +73,6 @@ public class JetLiveTemplateCompletionContributor extends CompletionContributor
for (final TemplateImpl possible : templates) {
result.addElement(new LiveTemplateLookupElement(possible, false));
}
-
- addSynonym(templates, result, "anonymous", "object");
}
}
@@ -97,22 +95,4 @@ public class JetLiveTemplateCompletionContributor extends CompletionContributor
return element instanceof LiveTemplateLookupElement && ((LiveTemplateLookupElement) element).sudden;
}
}
-
-
- /* custom code start */
- private static void addSynonym(List templates, @NotNull CompletionResultSet result, @NotNull String standardName, @NotNull final String synonym) {
- for (TemplateImpl t : templates) {
- if (standardName.equals(t.getKey())) {
- result.addElement(new LiveTemplateLookupElement(t, false) {
- @NotNull
- @Override
- public String getLookupString() {
- return synonym;
- }
- });
- return;
- }
- }
-
- }
}