mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Revert "workaround for PyCharm Pro"
This reverts commit f765e6ae GitOrigin-RevId: ca6004f1c0bf5b6c4f9e20fb2b8ba1a708fdcfec
This commit is contained in:
committed by
intellij-monorepo-bot
parent
be0d8e9ac6
commit
095f2887d2
@@ -1173,18 +1173,9 @@ public final class PluginManagerCore {
|
||||
}
|
||||
|
||||
try {
|
||||
boolean skipPythonCommunity = isRunningFromSources && PlatformUtils.PYCHARM_PREFIX.equals(platformPrefix);
|
||||
Enumeration<URL> enumeration = loader.getResources(PLUGIN_XML_PATH);
|
||||
while (enumeration.hasMoreElements()) {
|
||||
URL url = enumeration.nextElement();
|
||||
if (skipPythonCommunity) {
|
||||
String file = url.getFile();
|
||||
if (file.endsWith("/classes/production/intellij.python.community.plugin/META-INF/plugin.xml") ||
|
||||
file.endsWith("/classes/production/intellij.pycharm.community.customization/META-INF/plugin.xml")) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
urls.put(url, PLUGIN_XML);
|
||||
urls.put(enumeration.nextElement(), PLUGIN_XML);
|
||||
}
|
||||
}
|
||||
catch (IOException e) {
|
||||
|
||||
Reference in New Issue
Block a user