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

CH doesn't work. #421

Open daoistyoudao opened 7 years ago

daoistyoudao commented 7 years ago

Nothing wrong showed in the console log.

CH doesn't work. And no color picker as well.

After installed with Package Control, there's only one empty "icons" folder been created under "User/Color Highlighter" folder, Lacking of "ColorPicker" folder and "themes" folder.

Chandler-Lu commented 7 years ago

I have the same question. #420

preeteshjain commented 7 years ago

Same happening with me. This plugin used to work so well some days before.

zbyna commented 6 years ago

It started to work after deleting User settings file and Tools/ColorHighlighter to reconfigure as @Smashman pointed here: https://github.com/Monnoroch/ColorHighlighter/issues/420

daoistyoudao commented 6 years ago

Not working for me. Waiting for the next update.

Monnoroch commented 6 years ago

A bug repost must include a complete logfile. Otherwise there's no way I can help with anything.

daoistyoudao commented 6 years ago

DPI scale: 2 startup, version: 3143 windows x64 channel: stable executable: /C/Program Files/Sublime Text 3/sublime_text.exe working dir: /C/Program Files/Sublime Text 3 packages path: /C/Users/Haoyun/AppData/Roaming/Sublime Text 3/Packages state path: /C/Users/Haoyun/AppData/Roaming/Sublime Text 3/Local zip path: /C/Program Files/Sublime Text 3/Packages zip path: /C/Users/Haoyun/AppData/Roaming/Sublime Text 3/Installed Packages ignored_packages: ["Vintage"] pre session restore time: 0.144202 startup time: 0.192202 first paint time: 0.195202 reloading plugin Default.auto_indent_tag reloading plugin Default.block reloading plugin Default.comment reloading plugin Default.convert_syntax reloading plugin Default.copy_path reloading plugin Default.delete_word reloading plugin Default.detect_indentation reloading plugin Default.duplicate_line reloading plugin Default.echo reloading plugin Default.exec reloading plugin Default.fold reloading plugin Default.font reloading plugin Default.goto_line reloading plugin Default.history_list reloading plugin Default.indentation reloading plugin Default.install_package_control reloading plugin Default.kill_ring reloading plugin Default.mark reloading plugin Default.new_templates reloading plugin Default.open_context_url reloading plugin Default.open_in_browser reloading plugin Default.pane reloading plugin Default.paragraph reloading plugin Default.paste_from_history reloading plugin Default.profile reloading plugin Default.quick_panel reloading plugin Default.run_syntax_tests reloading plugin Default.save_on_focus_lost reloading plugin Default.scroll reloading plugin Default.set_unsaved_view_name reloading plugin Default.settings reloading plugin Default.show_scope_name reloading plugin Default.side_bar reloading plugin Default.sort reloading plugin Default.swap_line reloading plugin Default.switch_file reloading plugin Default.symbol reloading plugin Default.transform reloading plugin Default.transpose reloading plugin Default.trim_trailing_white_space reloading plugin Default.ui reloading plugin CSS.css_completions reloading plugin Diff.diff reloading plugin HTML.encode_html_entities reloading plugin HTML.html_completions reloading plugin 0_package_control_loader.00-package_control reloading plugin 0_package_control_loader.01-pygments reloading plugin 0_package_control_loader.50-backrefs reloading plugin 0_package_control_loader.50-markupsafe reloading plugin 0_package_control_loader.50-pymdownx reloading plugin 0_package_control_loader.50-python-markdown reloading plugin 0_package_control_loader.50-pyyaml reloading plugin 0_package_control_loader.51-python-jinja2 reloading plugin 0_package_control_loader.55-mdpopups reloading plugin All Autocomplete.all_views_completions reloading plugin AutoFileName.autofilename reloading plugin AutoFileName.getimageinfo reloading plugin BracketHighlighter.bh_core reloading plugin BracketHighlighter.bh_logging reloading plugin BracketHighlighter.bh_plugin reloading plugin BracketHighlighter.bh_popup reloading plugin BracketHighlighter.bh_regions reloading plugin BracketHighlighter.bh_remove reloading plugin BracketHighlighter.bh_rules reloading plugin BracketHighlighter.bh_search reloading plugin BracketHighlighter.bh_swapping reloading plugin BracketHighlighter.bh_wrapping reloading plugin BracketHighlighter.support reloading plugin Color Highlighter.color_converter reloading plugin Color Highlighter.color_highlighter reloading plugin Color Highlighter.color_hover_listener reloading plugin Color Highlighter.color_scheme reloading plugin Color Highlighter.color_scheme_color_highlighter reloading plugin Color Highlighter.color_searcher reloading plugin Color Highlighter.color_selection_listener reloading plugin Color Highlighter.colors reloading plugin Color Highlighter.content_listener reloading plugin Color Highlighter.convert_color_command reloading plugin Color Highlighter.css_colors reloading plugin Color Highlighter.dummy_event_listener reloading plugin Color Highlighter.gutter_icons_color_highlighter reloading plugin Color Highlighter.load_resource reloading plugin Color Highlighter.main reloading plugin Color Highlighter.path reloading plugin Color Highlighter.phantoms_color_highlighter reloading plugin Color Highlighter.pick_color_command reloading plugin Color Highlighter.regex_compiler reloading plugin Color Highlighter.regions reloading plugin Color Highlighter.set_setting_command reloading plugin Color Highlighter.settings reloading plugin Color Highlighter.st_helper reloading plugin Color Highlighter.topsort reloading plugin DocBlockr.jsdocs reloading plugin Emmet.emmet-plugin reloading plugin FileDiffs.file_diffs reloading plugin Git.git_commands reloading plugin GitGutter.plugin reloading plugin Markdown Preview.helper reloading plugin Markdown Preview.markdown_settings reloading plugin Markdown Preview.markdown_wrapper reloading plugin Markdown Preview.MarkdownPreview reloading plugin Package Control.1_reloader reloading plugin Package Control.2_bootstrap reloading plugin Package Control.Package Control reloading plugin PackageResourceViewer.package_resource_viewer reloading plugin PackageResourceViewer.package_resources reloading plugin SideBarEnhancements.SideBar reloading plugin SideBarEnhancements.SideBarAPI reloading plugin SideBarEnhancements.SideBarDefaultDisable reloading plugin SublimeLinter-csslint.linter SublimeLinter: csslint linter loaded reloading plugin SublimeLinter-jshint.linter SublimeLinter: jshint linter loaded reloading plugin SublimeLinter-pylint.linter SublimeLinter: pylint linter loaded reloading plugin SublimeCodeIntel.ordereddict reloading plugin SublimeCodeIntel.SublimeCodeIntel reloading plugin SublimeLinter.commands reloading plugin SublimeLinter.sublimelinter reloading plugin SublimeTmpl.sublime-tmpl plugins loaded SublimeLinter: jshint activated: C:\Users\Haoyun\AppData\Roaming\npm\jshint.cmd SublimeLinter: csslint activated: C:\Users\Haoyun\AppData\Roaming\npm\csslint.cmd (disabled in settings) Emmet: No need to update PyV8 Package Control: Skipping automatic upgrade, last run at 2017-12-15 10:18:50, next run at 2017-12-15 11:18:50 or after

@Monnoroch

Monnoroch commented 6 years ago

Yep, nothing seems to be wrong. Can you set the "debug": true setting and do stuff? This will log all CH actions. Perhaps we will se what's not happening.

Monnoroch commented 6 years ago

Wait, I meant there's a CH setting called "debug". It's false by default, but you can change it to true in CH user settings. The icons error is totally fine.

daoistyoudao commented 6 years ago

DPI scale: 2 startup, version: 3143 windows x64 channel: stable executable: /C/Program Files/Sublime Text 3/sublime_text.exe working dir: /C/Program Files/Sublime Text 3 packages path: /C/Users/Haoyun/AppData/Roaming/Sublime Text 3/Packages state path: /C/Users/Haoyun/AppData/Roaming/Sublime Text 3/Local zip path: /C/Program Files/Sublime Text 3/Packages zip path: /C/Users/Haoyun/AppData/Roaming/Sublime Text 3/Installed Packages ignored_packages: ["Vintage"] pre session restore time: 0.131264 startup time: 0.193264 first paint time: 0.204264 reloading plugin Default.auto_indent_tag reloading plugin Default.block reloading plugin Default.comment reloading plugin Default.convert_syntax reloading plugin Default.copy_path reloading plugin Default.delete_word reloading plugin Default.detect_indentation reloading plugin Default.duplicate_line reloading plugin Default.echo reloading plugin Default.exec reloading plugin Default.fold reloading plugin Default.font reloading plugin Default.goto_line reloading plugin Default.history_list reloading plugin Default.indentation reloading plugin Default.install_package_control reloading plugin Default.kill_ring reloading plugin Default.mark reloading plugin Default.new_templates reloading plugin Default.open_context_url reloading plugin Default.open_in_browser reloading plugin Default.pane reloading plugin Default.paragraph reloading plugin Default.paste_from_history reloading plugin Default.profile reloading plugin Default.quick_panel reloading plugin Default.run_syntax_tests reloading plugin Default.save_on_focus_lost reloading plugin Default.scroll reloading plugin Default.set_unsaved_view_name reloading plugin Default.settings reloading plugin Default.show_scope_name reloading plugin Default.side_bar reloading plugin Default.sort reloading plugin Default.swap_line reloading plugin Default.switch_file reloading plugin Default.symbol reloading plugin Default.transform reloading plugin Default.transpose reloading plugin Default.trim_trailing_white_space reloading plugin Default.ui reloading plugin CSS.css_completions reloading plugin Diff.diff reloading plugin HTML.encode_html_entities reloading plugin HTML.html_completions reloading plugin 0_package_control_loader.00-package_control reloading plugin 0_package_control_loader.01-pygments reloading plugin 0_package_control_loader.50-backrefs reloading plugin 0_package_control_loader.50-markupsafe reloading plugin 0_package_control_loader.50-pymdownx reloading plugin 0_package_control_loader.50-python-markdown reloading plugin 0_package_control_loader.50-pyyaml reloading plugin 0_package_control_loader.51-python-jinja2 reloading plugin 0_package_control_loader.55-mdpopups reloading plugin All Autocomplete.all_views_completions reloading plugin AutoFileName.autofilename reloading plugin AutoFileName.getimageinfo reloading plugin BracketHighlighter.bh_core reloading plugin BracketHighlighter.bh_logging reloading plugin BracketHighlighter.bh_plugin reloading plugin BracketHighlighter.bh_popup reloading plugin BracketHighlighter.bh_regions reloading plugin BracketHighlighter.bh_remove reloading plugin BracketHighlighter.bh_rules reloading plugin BracketHighlighter.bh_search reloading plugin BracketHighlighter.bh_swapping reloading plugin BracketHighlighter.bh_wrapping reloading plugin BracketHighlighter.support reloading plugin Color Highlighter.color_converter reloading plugin Color Highlighter.color_highlighter reloading plugin Color Highlighter.color_hover_listener reloading plugin Color Highlighter.color_scheme reloading plugin Color Highlighter.color_scheme_color_highlighter reloading plugin Color Highlighter.color_searcher reloading plugin Color Highlighter.color_selection_listener reloading plugin Color Highlighter.colors reloading plugin Color Highlighter.content_listener reloading plugin Color Highlighter.convert_color_command reloading plugin Color Highlighter.css_colors reloading plugin Color Highlighter.dummy_event_listener reloading plugin Color Highlighter.gutter_icons_color_highlighter reloading plugin Color Highlighter.load_resource reloading plugin Color Highlighter.main reloading plugin Color Highlighter.path reloading plugin Color Highlighter.phantoms_color_highlighter reloading plugin Color Highlighter.pick_color_command reloading plugin Color Highlighter.regex_compiler reloading plugin Color Highlighter.regions reloading plugin Color Highlighter.set_setting_command reloading plugin Color Highlighter.settings reloading plugin Color Highlighter.st_helper reloading plugin Color Highlighter.topsort reloading plugin DocBlockr.jsdocs reloading plugin Emmet.emmet-plugin reloading plugin FileDiffs.file_diffs reloading plugin Git.git_commands reloading plugin GitGutter.plugin reloading plugin Markdown Preview.helper reloading plugin Markdown Preview.markdown_settings reloading plugin Markdown Preview.markdown_wrapper reloading plugin Markdown Preview.MarkdownPreview reloading plugin Package Control.1_reloader reloading plugin Package Control.2_bootstrap reloading plugin Package Control.Package Control reloading plugin PackageResourceViewer.package_resource_viewer reloading plugin PackageResourceViewer.package_resources reloading plugin SideBarEnhancements.SideBar reloading plugin SideBarEnhancements.SideBarAPI reloading plugin SideBarEnhancements.SideBarDefaultDisable reloading plugin SublimeLinter-csslint.linter SublimeLinter: csslint linter loaded reloading plugin SublimeLinter-jshint.linter SublimeLinter: jshint linter loaded reloading plugin SublimeLinter-pylint.linter SublimeLinter: pylint linter loaded reloading plugin SublimeCodeIntel.ordereddict reloading plugin SublimeCodeIntel.SublimeCodeIntel reloading plugin SublimeLinter.commands reloading plugin SublimeLinter.sublimelinter reloading plugin SublimeTmpl.sublime-tmpl plugins loaded ColorHighlighter: action=start st=st3 ColorHighlighter: action=create_icon style=circle color=#ffffffff Traceback: error.

Output:

Error: Invalid Parameter - TrueColorMatte

Highlighting colors with gutter icons is not supported with current ImageMagick setup. Try configuring the "icon_factory setting" Emmet: No need to update PyV8 Package Control: Skipping automatic upgrade, last run at 2017-12-15 14:25:44, next run at 2017-12-15 15:25:44 or after ColorHighlighter: action=run_command name=color_highlighter_set_setting setting=search_colors_in.selection.color_highlighters.phantoms.enabled value=False ColorHighlighter: action=create_icon style=circle color=#ffffffff Traceback: error.

Output:

Error: Invalid Parameter - TrueColorMatte

Highlighting colors with gutter icons is not supported with current ImageMagick setup. Try configuring the "icon_factory setting" ColorHighlighter: action=run_command name=color_highlighter_set_setting setting=search_colors_in.selection.enabled value=False ColorHighlighter: action=create_icon style=circle color=#ffffffff Traceback: error.

Output:

Error: Invalid Parameter - TrueColorMatte

Highlighting colors with gutter icons is not supported with current ImageMagick setup. Try configuring the "icon_factory setting" reloading settings Packages/User/ColorHighlighter.sublime-settings ColorHighlighter: action=create_icon style=circle color=#ffffffff Traceback: error.

Output:

Error: Invalid Parameter - TrueColorMatte

Highlighting colors with gutter icons is not supported with current ImageMagick setup. Try configuring the "icon_factory setting" ColorHighlighter: action=run_command name=color_highlighter_set_setting setting=search_colors_in.all_content.color_highlighters.color_scheme.enabled value=True ColorHighlighter: action=run_command name=color_highlighter_set_setting setting=search_colors_in.all_content.color_highlighters.color_scheme.highlight_style value=filled ColorHighlighter: action=create_icon style=circle color=#ffffffff Traceback: error.

Output:

Error: Invalid Parameter - TrueColorMatte

Highlighting colors with gutter icons is not supported with current ImageMagick setup. Try configuring the "icon_factory setting" ColorHighlighter: action=run_command name=color_highlighter_set_setting setting=search_colors_in.all_content.enabled value=True reloading settings Packages/User/ColorHighlighter.sublime-settings ColorHighlighter: action=create_icon style=circle color=#ffffffff Traceback: error.

Output:

Error: Invalid Parameter - TrueColorMatte

Highlighting colors with gutter icons is not supported with current ImageMagick setup. Try configuring the "icon_factory setting" ColorHighlighter: action=run_command name=color_highlighter_set_setting setting=search_colors_in.all_content.color_highlighters.gutter_icons.enabled value=False ColorHighlighter: action=run_command name=color_highlighter_set_setting setting=search_colors_in.all_content.enabled value=True reloading settings Packages/User/ColorHighlighter.sublime-settings SublimeLinter: csslint activated: C:\Users\Haoyun\AppData\Roaming\npm\csslint.cmd SublimeLinter: jshint activated: C:\Users\Haoyun\AppData\Roaming\npm\jshint.cmd

@Monnoroch Also I don't get it where WINDOW COMMAND ENABLED shows, it's fine but annoying...

Monnoroch commented 6 years ago

The log looks totally fine, but it doesn't find any colors. Weird. WINDOW COMMAND ENABLED is not CH.

daoistyoudao commented 6 years ago

Yep, it's so weird, btw color picker works fine. I reinstalled sublime several times for some reason. I recalled there was only one time CH worked well.

@Monnoroch

Monnoroch commented 6 years ago

I recon this requires carefully instrumentin code with more logs to find out what exactly is wrong. Unfortunately I don't have a Win machine to do that myself an it's not reproducible on linux.