mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
IJPL-149476 fix unresovled PyBundle
GitOrigin-RevId: c9997d7f1eb5fb96b1b0f005f852cdf58406b189
This commit is contained in:
committed by
intellij-monorepo-bot
parent
eacde8b9d0
commit
be6d1d9923
@@ -1,15 +1,13 @@
|
|||||||
<idea-plugin package="com.intellij.commandInterface">
|
<idea-plugin package="com.intellij.commandInterface">
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<plugin id="com.intellij.modules.platform"/>
|
<!-- uses messages.PyBundle -->
|
||||||
<plugin id="com.intellij.modules.lang"/>
|
<module name="intellij.python.community.impl"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<!--
|
<!--
|
||||||
Extension points to support gnu command line language.
|
Extension points to support gnu command line language.
|
||||||
See {@link com.intellij.commandInterface.commandLine}
|
See {@link com.intellij.commandInterface.commandLine}
|
||||||
-->
|
-->
|
||||||
<extensions defaultExtensionNs="com.intellij">
|
<extensions defaultExtensionNs="com.intellij">
|
||||||
|
|
||||||
|
|
||||||
<lang.parserDefinition language="CommandLine"
|
<lang.parserDefinition language="CommandLine"
|
||||||
implementationClass="com.intellij.commandInterface.commandLine.CommandLineParserDefinition"/>
|
implementationClass="com.intellij.commandInterface.commandLine.CommandLineParserDefinition"/>
|
||||||
<lang.syntaxHighlighter language="CommandLine"
|
<lang.syntaxHighlighter language="CommandLine"
|
||||||
|
|||||||
@@ -93,21 +93,28 @@ private class InspectopediaExtractor : ModernApplicationStarter() {
|
|||||||
LOG.info("Cannot create options panel ${wrapper.shortName}", e)
|
LOG.info("Cannot create options panel ${wrapper.shortName}", e)
|
||||||
}
|
}
|
||||||
|
|
||||||
val language = wrapper.language
|
try {
|
||||||
availablePlugins.get(pluginId)!!.inspections.add(Inspection(
|
val language = wrapper.language
|
||||||
id = wrapper.shortName,
|
availablePlugins.get(pluginId)!!.inspections.add(Inspection(
|
||||||
name = wrapper.displayName,
|
id = wrapper.shortName,
|
||||||
severity = wrapper.defaultLevel.name,
|
name = wrapper.displayName,
|
||||||
language = language,
|
severity = wrapper.defaultLevel.name,
|
||||||
briefDescription = description.firstOrNull()?.let { HtmlUtils.cleanupHtml(it, language) },
|
language = language,
|
||||||
extendedDescription = if (description.size > 1) HtmlUtils.cleanupHtml(description[1], language) else null,
|
briefDescription = description.firstOrNull()?.let { HtmlUtils.cleanupHtml(it, language) },
|
||||||
path = wrapper.groupPath.asList(),
|
extendedDescription = if (description.size > 1) HtmlUtils.cleanupHtml(description[1], language) else null,
|
||||||
isAppliesToDialects = wrapper.applyToDialects(),
|
path = wrapper.groupPath.asList(),
|
||||||
isCleanup = wrapper.isCleanupTool,
|
isAppliesToDialects = wrapper.applyToDialects(),
|
||||||
isEnabledDefault = wrapper.isEnabledByDefault,
|
isCleanup = wrapper.isCleanupTool,
|
||||||
options = panelInfo,
|
isEnabledDefault = wrapper.isEnabledByDefault,
|
||||||
cweIds = inspectionExtraState.inspections.get(wrapper.id)?.cweIds,
|
options = panelInfo,
|
||||||
))
|
cweIds = inspectionExtraState.inspections.get(wrapper.id)?.cweIds,
|
||||||
|
))
|
||||||
|
}
|
||||||
|
catch (e: Throwable) {
|
||||||
|
System.err.println("Error while processing ${wrapper.extension}")
|
||||||
|
e.printStackTrace()
|
||||||
|
exitProcess(-1)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
val sortedPlugins = availablePlugins.values
|
val sortedPlugins = availablePlugins.values
|
||||||
|
|||||||
Reference in New Issue
Block a user