I spend last evening trying to understand how to create a theme for Rider. I got as far as getting IntelliJ to build and open another window to show the theme. As I am no IntelliJ or Java developer I do not understand the UI and World around it.
How do I get my “theme” out from IntelliJ an in to Rider? And do I need to be in IntelliJ?
FYI, I thought the themes plugin for IntelliJ should be compatible with IntelliJ IDEs including Rider. If you’re referring to the color scheme, it should also be the similar.
Maybe you need to support custom syntax highlighting for C# (according to your needs).
The main problem is how I export the solution/code to a .jar or .zip file. Now I do it manually and that does not work.
If you are using a themes plugin for IntelliJ, you can download the same plugin on marketplace for Rider.
If you are using a customized color scheme, you can export from IDE to a icls or jar file, but export doesn’t contain the themes style and only color scheme.
Yes I know that. But the problem is that I am creating a custom theme. And I canät get it out from IntelliJ or in to IntelliJ. It just works when I “build” the project and IntelliJ opens up another IntelliJ window, where I can see and choose the theme.
As you see here in out/production, I get the RiderSlimeTheme and I have manually created a .zip out of it. That is the one I have tried to use, but I think there is something I am missing here. I think it should be a .jar or somthing. I would love if I could use the .zip, then I could modify the code in another IDEA.
Both .jar and .zip plugin file could installed. You can try “install from disk” to install your jar or zip file mannaully. It should be RiderSlimeTheme.zip in screenshot.
I have tried that. It installs, but I can not see it in the list under File | Settings | Appearance & Behavior | Appearance > Themes.
If it is not displayed in the list,usually you need to check if there are issues with plugin.xml or themes.json. You can also first try to run the theme locally to see if it is work.
I will try to go minimal in them and build up. Is there some repo where a minimal theme is, that I can look at?
Maybe you can refer to:
I build my themes plugin Gerry Themes refer to Dark purple.
What do you mean exactly?
You should use:
This will generate a jar file.
Or use a Gradle task, if using Gradle.
Also, do you see any error or warning in Rider’s logs?
Thanks !! That was what I was hoping for. That I missed somthing. I tested it and it worked !! It was not in the tutorials that I read. Probably just somthing everyone knows..
I now have got far, have a theme in Rider and it works fine. Is there some way to find out element names in Rider to target and change colors on? I have stuff in Rider that I do not have in IntelliJ.
I use internal mode to debug themes in IDE.
After enable internal mode, you can use ctrl+alt+click to check the IDE element attribute color.