mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 11:53:49 +07:00
IJPL-159219 Intention, inspection and file templates are missing
GitOrigin-RevId: 05136bee02b6cfc27646b50bad238016821fa210
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8511feda42
commit
6c119ce6e1
@@ -95,8 +95,11 @@ object LocalizationUtil {
|
||||
val pathString = FileUtil.toSystemIndependentName(localizedPath.pathString)
|
||||
defaultLoader?.getResourceAsStream(pathString)?.let { return it }
|
||||
}
|
||||
val pureResourcePath = FileUtil.toSystemIndependentName(path.pathString)
|
||||
return getPluginClassLoader()?.getResourceAsStream(pureResourcePath)
|
||||
val resourcePath = path.pathString
|
||||
val pureResourcePath = FileUtil.toSystemIndependentName(resourcePath)
|
||||
return getPluginClassLoader()?.getResourceAsStream(resourcePath)
|
||||
?: getPluginClassLoader()?.getResourceAsStream(pureResourcePath)
|
||||
?: defaultLoader?.getResourceAsStream(resourcePath)
|
||||
?: defaultLoader?.getResourceAsStream(pureResourcePath)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user