mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-254315 Description in File Templates does not work any more
GitOrigin-RevId: f2aa60d97f66afed790a85b80517354373a944d7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9e0dbabb9a
commit
ebab15db82
@@ -273,13 +273,13 @@ class FileTemplatesLoader implements Disposable {
|
||||
}
|
||||
|
||||
descName = MessageFormat.format("{0}.{1}_{2}" + DESCRIPTION_EXTENSION_SUFFIX, templateName, templateExtension, locale.getLanguage());
|
||||
descPath = pathPrefix.isEmpty() ? descName : pathPrefix + descName;
|
||||
descPath = pathPrefix.isEmpty() ? descName : pathPrefix + "/" + descName;
|
||||
if (descriptionPaths.contains(descPath)) {
|
||||
return descPath;
|
||||
}
|
||||
|
||||
descName = templateName + "." + templateExtension + DESCRIPTION_EXTENSION_SUFFIX;
|
||||
descPath = pathPrefix.isEmpty() ? descName : pathPrefix + descName;
|
||||
descPath = pathPrefix.isEmpty() ? descName : pathPrefix + "/" + descName;
|
||||
if (descriptionPaths.contains(descPath)) {
|
||||
return descPath;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user