Sublime-Colorcoder
Sublime-Colorcoder copied to clipboard
conflicts with color highlighter
This package conflicts with color highlighter. I have already submitted an issue on its' Github page. If there is any sort of possible workaround then, let's do it, otherwise, let's make sure to add to the readme that they are incompatible. For more details, see the commit on that page.
@rocketinventor: what package are you talking about? what is the URL of this issue?
@dungsaga the url of the issue ishttps://github.com/Monnoroch/ColorHighlighter/issues/218
There will be conflicts when multiple plugins modify the color scheme.
A workaround is to allow only 1 plugin to modify that. For example: in Colorcoder settings, you can set "auto_apply_on_scheme_change": false
@dungsaga A real workaround could be to add "auto_apply_on_scheme_change": false to one of the plugin's settings and then, when the other plugin is finished changing the color scheme, it would then tell the disabled plug-in to run exactly one time.
Basically, if both plugins are installed, it should be possible to only use one event listener for user color scheme change and on edit events. When this listener is activated the two plugins color scheme modifiers will be ran once and, sequentially.
The coordination could also be done by a separate plugin. When installed, it would make sure any automatic color scheme changers were set to manual only and then would create the listener and run the plugins in alphabetic or user chosen order. This of course would only work given that both plugins have an external function that will run its color scheme modifier.
At the very least, for the time being, some color scheme name logic should be added. If a color scheme has a name like blue x'd y'd x'd y'd x'd y'd x'd y'd x'd then one or both plugins should disable themselves and alert the user that there is conflict.