Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uninstallation renders color schemes broken #453

Open
tofof opened this issue May 2, 2018 · 4 comments
Open

Uninstallation renders color schemes broken #453

tofof opened this issue May 2, 2018 · 4 comments

Comments

@tofof
Copy link

tofof commented May 2, 2018

Uninstallation leaves all color schemes (selectable from Preferences->Color Schemes) set to the copy within Packages/User/Color Highlighter/Themes. Themes that hadn't been used and have no local copy are simply broken afterward, and if this leftover directory is removed the current theme breaks as well.

Selecting a scheme via the menu afterward gives the error:

Error loading color scheme Packages/User/Color Highlighter/themes/Mariana.tmTheme: Unable to open Packages/User/Color Highlighter/themes/Mariana.tmTheme

@RiseOoi
Copy link

RiseOoi commented Apr 5, 2019

Yes.

Monnoroch, please stop messing with color schemes.

@dustinbolton
Copy link

How do you fix this?

@ngocphamm
Copy link

ngocphamm commented Jul 8, 2021

For anyone having this bs in the future, this is how to fix it.

  1. Close Sublime Text
  2. Go to ~/Library/Application Support/Sublime Text 3/Local folder
  3. Edit the file Session.sublime_session in another editor.
  4. Find the line "color_scheme": "Packages/User/Color Highlighter/themes/<your_theme>",
  5. Replace the value with whatever should be in your Settings's color_scheme. Mine is "Packages/Theme - Spacegray/base16-ocean.dark.tmTheme" (and it was messed by this plugin to become "Packages/User/Color Highlighter/themes/base16-ocean.tmTheme" as in step 4 above)
  6. Re-open Sublime Text. It should be fine now.

@reizen-desu
Copy link

@ngocphamm
Thanks. Worked like a charm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants