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">
|
||||
<dependencies>
|
||||
<plugin id="com.intellij.modules.platform"/>
|
||||
<plugin id="com.intellij.modules.lang"/>
|
||||
<!-- uses messages.PyBundle -->
|
||||
<module name="intellij.python.community.impl"/>
|
||||
</dependencies>
|
||||
<!--
|
||||
Extension points to support gnu command line language.
|
||||
See {@link com.intellij.commandInterface.commandLine}
|
||||
-->
|
||||
<extensions defaultExtensionNs="com.intellij">
|
||||
|
||||
|
||||
<lang.parserDefinition language="CommandLine"
|
||||
implementationClass="com.intellij.commandInterface.commandLine.CommandLineParserDefinition"/>
|
||||
<lang.syntaxHighlighter language="CommandLine"
|
||||
|
||||
@@ -93,21 +93,28 @@ private class InspectopediaExtractor : ModernApplicationStarter() {
|
||||
LOG.info("Cannot create options panel ${wrapper.shortName}", e)
|
||||
}
|
||||
|
||||
val language = wrapper.language
|
||||
availablePlugins.get(pluginId)!!.inspections.add(Inspection(
|
||||
id = wrapper.shortName,
|
||||
name = wrapper.displayName,
|
||||
severity = wrapper.defaultLevel.name,
|
||||
language = language,
|
||||
briefDescription = description.firstOrNull()?.let { HtmlUtils.cleanupHtml(it, language) },
|
||||
extendedDescription = if (description.size > 1) HtmlUtils.cleanupHtml(description[1], language) else null,
|
||||
path = wrapper.groupPath.asList(),
|
||||
isAppliesToDialects = wrapper.applyToDialects(),
|
||||
isCleanup = wrapper.isCleanupTool,
|
||||
isEnabledDefault = wrapper.isEnabledByDefault,
|
||||
options = panelInfo,
|
||||
cweIds = inspectionExtraState.inspections.get(wrapper.id)?.cweIds,
|
||||
))
|
||||
try {
|
||||
val language = wrapper.language
|
||||
availablePlugins.get(pluginId)!!.inspections.add(Inspection(
|
||||
id = wrapper.shortName,
|
||||
name = wrapper.displayName,
|
||||
severity = wrapper.defaultLevel.name,
|
||||
language = language,
|
||||
briefDescription = description.firstOrNull()?.let { HtmlUtils.cleanupHtml(it, language) },
|
||||
extendedDescription = if (description.size > 1) HtmlUtils.cleanupHtml(description[1], language) else null,
|
||||
path = wrapper.groupPath.asList(),
|
||||
isAppliesToDialects = wrapper.applyToDialects(),
|
||||
isCleanup = wrapper.isCleanupTool,
|
||||
isEnabledDefault = wrapper.isEnabledByDefault,
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user