Bundle color scheme to theme
已回答
Hi!
I've created this theme plugin and I want to provide a color scheme to it.
The color scheme is in the resource folder already, but I had no success importing it in the json.theme file.
What I've tried so far:
- Setting
editorSchemeto/vesperoso.xml,./vesperoso.xml,/vesperoso.icls,./vesperoso.iclsand/vesperoso - Declaring
<bundledColorScheme id="com.github.vikthorvergara.vesperoso" path="colors/vesperoso"/>inplugin.xml
I don't know what I'm missing here. I've searched for others theme plugins to compare, but I just can't figure this out.
请先登录再写评论。
Hi Vikthor,
Could you please clarify what is wrong? I tried to run the plugin, changed the Theme and the editor color scheme was changed too. The colors were different from other schemes, so I assume it worked correctly.
BTW, it seems you have leftover classes in
/src/main/kotlin/com/github/vikthorvergara/vesperoso.Hi Karol,
I'm sorry, I was not testing it properly. My mistake was trying to run it with the “Preview Theme” option that was setting the color scheme to the default Light one.
After building it and installing from local disk it worked just fine.
Thanks!