diff --git a/java/idea-ui/src/com/intellij/ide/projectWizard/ProjectTypeStep.java b/java/idea-ui/src/com/intellij/ide/projectWizard/ProjectTypeStep.java index 769f5a2f91a5..9fcbd21b7771 100644 --- a/java/idea-ui/src/com/intellij/ide/projectWizard/ProjectTypeStep.java +++ b/java/idea-ui/src/com/intellij/ide/projectWizard/ProjectTypeStep.java @@ -28,6 +28,8 @@ import com.intellij.openapi.roots.ui.configuration.ModulesProvider; import com.intellij.openapi.ui.Messages; import com.intellij.openapi.util.Comparing; import com.intellij.openapi.util.Disposer; +import com.intellij.openapi.util.SystemInfo; +import com.intellij.openapi.util.text.StringUtil; import com.intellij.platform.ProjectTemplate; import com.intellij.platform.ProjectTemplateEP; import com.intellij.platform.templates.ArchivedProjectTemplate; @@ -334,7 +336,13 @@ public class ProjectTypeStep extends ModuleWizardStep implements Disposable, Act private void updateSelection() { ProjectTemplate template = getSelectedTemplate(); if (template != null) { - myDescription.setText("" + template.getDescription() + ""); + String description = template.getDescription(); + if (StringUtil.isNotEmpty(description)) { + description = "' + description + + ""; + myDescription.setText(description); + } } else { myDescription.setText("");