Reset Color Schemes Programmatically
已回答
Hi, I'm looking for a way to reset color schemes programmatically. Is there a method to do so?
请先登录再写评论。
There's no API for resetting color schemes. However, here's the current implementation you can check on:
https://github.com/JetBrains/intellij-community/blob/29d550bbc8955a93233df7aa8a47e9a6d0918169/platform/platform-impl/src/com/intellij/application/options/colors/ColorAndFontOptions.java#L291-L297
https://github.com/JetBrains/intellij-community/blob/29d550bbc8955a93233df7aa8a47e9a6d0918169/platform/platform-impl/src/com/intellij/application/options/colors/ColorAndFontOptions.java#L1153-L1162
I already found out these but most of the work is inaccessible from outside, unfortunately. Its a bummer