IntelliJ not able to find .icls files. Renaming them to .xml allows them to be found. Is this good?
I recently had an issue with my color scheme plugin development and that issue I believe is still occurring (https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000444230-ERROR-rationStore-ComponentStoreImpl-Cannot-read-scheme-from-?page=1#community_comment_115000355790 ).
I recently found a possible workaround that I feel is not good. There are some incorrect colors, and it appears that some inherited attributes are not inherited.
Basically, all my color scheme files had the .icls file extension. However, the idea.log could not find the xml file versions of those icls files. So I renamed those icls files to be xml files.
colors/ChroMATERIAL.icls --> colors/ChroMATERIAL.xml
colors/ChroMATERIAL -- Darker.icls --> colors/ChroMATERIAL -- Darker.xml
colors/ChroMATERIAL -- Darcula.icls --> colors/ChroMATERIAL -- Darcula.xml
Plugin.xml
<idea-plugin>
...
<idea-version since-build="131"/>
<depends>com.intellij.modules.lang</depends>
<extensions defaultExtensionNs="com.intellij">
<bundledColorScheme path="colors/ChroMATERIAL"/>
<bundledColorScheme path="colors/ChroMATERIAL -- Darker"/>
<bundledColorScheme path="colors/ChroMATERIAL -- Darcula"/>
</extensions>
</idea-plugin>
Please sign in to leave a comment.
This is the error message I WAS getting before I renamed the file extension to be .xml
Summary
Full Detail