mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
searching inside descriptions
(cherry picked from commit b95e67480d5bb594ec24622f9475825dedb4ca0c)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -214,7 +214,7 @@ project.order.entry.project=<Project>
|
||||
jdk.missing.item=<No SDK>
|
||||
library.empty.library.item=Empty Library
|
||||
module.type.java.name=Java Module
|
||||
module.type.java.description=Java modules are used for developing <b>JVM-based</b> applications, including applications that use <b>Java EE</b> and other enterprise development frameworks.
|
||||
module.type.java.description=Java modules are used for developing <b>JVM-based</b> desktop and web applications, including applications that use <b>Java EE</b> 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.
|
||||
|
||||
Reference in New Issue
Block a user