mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
- sorting plugin names for loadedBundled / loadedCustom or disabled plugins
- IDEA CORE is special plugin that is bundled
This commit is contained in:
@@ -140,13 +140,18 @@ public class PluginManager {
|
||||
final String version = descriptor.getVersion();
|
||||
String s = descriptor.getName() + (version != null ? " (" + version + ")" : "");
|
||||
if (descriptor.isEnabled()) {
|
||||
if (descriptor.isBundled()) loadedBundled.add(s);
|
||||
else if (!SPECIAL_IDEA_PLUGIN.equals(descriptor.getName())) loadedCustom.add(s);
|
||||
if (descriptor.isBundled() || SPECIAL_IDEA_PLUGIN.equals(descriptor.getName())) loadedBundled.add(s);
|
||||
else loadedCustom.add(s);
|
||||
}
|
||||
else {
|
||||
disabled.add(s);
|
||||
}
|
||||
}
|
||||
|
||||
Collections.sort(loadedBundled);
|
||||
Collections.sort(loadedCustom);
|
||||
Collections.sort(disabled);
|
||||
|
||||
getLogger().info("Loaded bundled plugins: " + StringUtil.join(loadedBundled, ", "));
|
||||
if (!loadedCustom.isEmpty()) {
|
||||
getLogger().info("Loaded custom plugins: " + StringUtil.join(loadedCustom, ", "));
|
||||
|
||||
Reference in New Issue
Block a user