diff --git a/java/idea-ui/src/com/intellij/ide/util/newProjectWizard/ProjectTypesList.java b/java/idea-ui/src/com/intellij/ide/util/newProjectWizard/ProjectTypesList.java index 04651a1fd034..503162b94273 100644 --- a/java/idea-ui/src/com/intellij/ide/util/newProjectWizard/ProjectTypesList.java +++ b/java/idea-ui/src/com/intellij/ide/util/newProjectWizard/ProjectTypesList.java @@ -21,6 +21,7 @@ import com.intellij.openapi.actionSystem.CustomShortcutSet; import com.intellij.openapi.ui.popup.ListItemDescriptor; import com.intellij.openapi.util.Condition; import com.intellij.openapi.util.Pair; +import com.intellij.openapi.util.text.StringUtil; import com.intellij.platform.ProjectTemplate; import com.intellij.platform.ProjectTemplatesFactory; import com.intellij.platform.templates.RemoteTemplatesFactory; @@ -225,7 +226,7 @@ public class ProjectTypesList { protected int getMatchingDegree() { if (myMatcher == null) return Integer.MAX_VALUE; - int i = myMatcher.matchingDegree(getGroupName() + " " + getName()); + int i = myMatcher.matchingDegree(getName() + " " + getGroupName() + " " + StringUtil.stripHtml(myTemplate.getDescription(), false)); if (myBestMatch == null || i > myBestMatch.second) { myBestMatch = Pair.create(this, i); } diff --git a/platform/projectModel-impl/src/messages/ProjectBundle.properties b/platform/projectModel-impl/src/messages/ProjectBundle.properties index 399b6426170a..3b59298f75dd 100644 --- a/platform/projectModel-impl/src/messages/ProjectBundle.properties +++ b/platform/projectModel-impl/src/messages/ProjectBundle.properties @@ -214,7 +214,7 @@ project.order.entry.project= jdk.missing.item= library.empty.library.item=Empty Library module.type.java.name=Java Module -module.type.java.description=Java modules are used for developing JVM-based applications, including applications that use Java EE and other enterprise development frameworks. +module.type.java.description=Java modules are used for developing JVM-based desktop and web applications, including applications that use Java EE and other enterprise development frameworks. module.type.unknown.name=Unknown module type. Used \"{0}\" as a substitute module.already.exists.error=Module ''{0}'' already exists in the project. module.source.roots.not.configured.error=No Source Roots configured for module {0}\nPlease use Settings | Paths to configure roots.