dima74 / intellij-indent-rainbow

Extension which shows indentation with a faint rainbow colored background to make them more readable
https://plugins.jetbrains.com/plugin/13308-indent-rainbow/
GNU General Public License v3.0
62 stars 13 forks source link

Do not update color scheme when not needed #31

Closed trustin closed 2 years ago

trustin commented 3 years ago

I'm storing my IntelliJ IDEA settings in a Git repository using the settings repository feature. It will push any configuration changes, including color scheme settings, when IntelliJ IDEA exits. If nothing was changed, it will not push any commit to the settings repository.

The problem is, intellij-indent-rainbow plugin keeps updating the color scheme at every launch, resulting in the change like the following:

image

As you see from the above image, intellij-indent-rainbow plugin doesn't really update anything. It just makes IntelliJ IDEA to update the timestamp value of the color scheme settings.

It'd be really nice if this plugin doesn't try to update anything if the current color scheme matches with the plugin's settings.

dima74 commented 2 years ago

@trustin Thanks for your feedback! This should be fixed in the latest release 1.7.0