mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
IJPL-149476 fix unresovled PyBundle
GitOrigin-RevId: c9997d7f1eb5fb96b1b0f005f852cdf58406b189
This commit is contained in:
committed by
intellij-monorepo-bot
parent
eacde8b9d0
commit
be6d1d9923
@@ -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