Monnoroch / ColorHighlighter

ColorHighlighter - is a plugin for the Sublime text 2 and 3, which underlays selected hexadecimal colorcodes (like "#FFFFFF", "rgb(255,255,255)", "white", etc.) with their real color. Also, plugin adds color picker to easily modify colors. Documentation: https://monnoroch.github.io/ColorHighlighter.
https://sublime.wbond.net/packages/Color%20Highlighter
1.31k stars 130 forks source link

!!! WARNING: ABANDONED PROJECT BREAKS SUBLIME TEXT 3 THEMES ON UNINSTALL !!! #479

Open dustinbolton opened 4 years ago

dustinbolton commented 4 years ago

WARNING: DO NOT USE THIS PLUGIN!

This is a warning to others. Not only does this plugin have many bugs in Sublime Text 3, including causing freezes, but it also will break your themes upon uninstalling (when you discover it's fairly broken as a plugin) as it moves theme files and makes modifications to files outside of the plugin itself. The author blames package control but either way, using this plugin is a risk until this is fixed.

There are multiple related issues about themes breaking on uninstall and problems with Sublime Text 3: https://github.com/Monnoroch/ColorHighlighter/issues/341 https://github.com/Monnoroch/ColorHighlighter/issues/453 https://github.com/Monnoroch/ColorHighlighter/issues/474 https://github.com/Monnoroch/ColorHighlighter/issues/456 https://github.com/Monnoroch/ColorHighlighter/issues/476 https://github.com/Monnoroch/ColorHighlighter/issues/469

judah-caruso commented 4 years ago

Not sure how useful this is, but the plugin also modifies any .sublime-workspace file within your project. Deleting this file fixes artifacts left after uninstalling. If you're looking for a less-nuclear solution, a few bits of plugin data live within the groups array inside that file.

...
"groups":
[
    ...
    "settings":
    {
        "buffer_size": 94245,
        "regions":
        {
            "col_00000001":
            {
                "flags": 16,
                "regions": ...,
                "scope": "col_00000001"
            },
            "col_00000001_icon":
            {
                "flags": 16,
                "icon": "Packages/User/Color Highlight.cache/col_00000001_square.png",
                "regions": ...,
                "scope": "col_gutter"
            },
            ...
        }
    }
]

Deleting regions may or may not fix the issue (I haven't tested it), but it might get you out of the situation I was in without having to delete your entire workspace file.

ngocphamm commented 3 years ago

I solve the issue of this plugin after it being removed with this https://github.com/Monnoroch/ColorHighlighter/issues/453#issuecomment-876598660