diff --git a/idea/src/org/jetbrains/jet/plugin/quickfix/CreateFunctionFromUsageFix.java b/idea/src/org/jetbrains/jet/plugin/quickfix/CreateFunctionFromUsageFix.java index 714017e7593..8f7e6f2094a 100644 --- a/idea/src/org/jetbrains/jet/plugin/quickfix/CreateFunctionFromUsageFix.java +++ b/idea/src/org/jetbrains/jet/plugin/quickfix/CreateFunctionFromUsageFix.java @@ -788,6 +788,9 @@ public class CreateFunctionFromUsageFix extends CreateFromUsageFixBase { // fix up the template to include the expression for the type parameter list variables.add(new Variable(TYPE_PARAMETER_LIST_VARIABLE_NAME, expression, expression, false, true)); + // TODO: Disabled shortening names because it causes some tests fail. Refactor code to use automatic reference shortening + templateImpl.setToShortenLongNames(false); + // run the template TemplateManager.getInstance(project).startTemplate(containingFileEditor, templateImpl, new TemplateEditingAdapter() { @Override