Open samuelprince77 opened 3 years ago
Guess it could also be fixed by having an additional argument with proper default value.
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
While trying to load resources(images, vectors etc, from resources folder) from an intellij plugin context, we get the error
ERROR` - llij.ide.plugins.PluginManager - Resource * not found
.The only way to fix this is by adding this line somewhere before the resource is loaded
Thread.currentThread().contextClassLoader = SomeClassInYourPlugin::class.java.classLoader
Perhaps this could be something that should be documented somewhere if it is the intended behaviour.