Giter Site home page Giter Site logo

Comments (11)

benweier avatar benweier commented on May 31, 2024

That's very interesting @bcrotty I'll look into it

from themr.

benweier avatar benweier commented on May 31, 2024

@bcrotty this should be fixed now. The issue was that I was loading the preferences file on package initialisation and it wasn't being updated when settings changed. I've also removed themr_watch_settings to simplified the logic a little and avoid confusion about what it does.

from themr.

bcrotty avatar bcrotty commented on May 31, 2024

@benweier Should the changes be live? When I delete a line from my Preferences.sublime-settings and then change the theme, it still brings the line back. Package Control upgraded all the packages it knew about.

from themr.

benweier avatar benweier commented on May 31, 2024

It can take some time for the change to be picked up. The Package Control page is showing the last modified time and I've just run a Package Control update and it has fetched the latest Themr and Schemr. Remember to restart Sublime to reinitialise the package too

from themr.

bcrotty avatar bcrotty commented on May 31, 2024

It's still not working for me. I removed Themr, restarted Sublime, installed Themr. I have a bunch of settings in my user preferences, such as "material_theme_tabs_autowidth": false,. When I delete that line, save the file, and hit Ctrl+F8, the line comes back.

from themr.

bcrotty avatar bcrotty commented on May 31, 2024

I can successfully remove a setting if I delete the line, save the user preferences file, and restart Sublime before I change the theme. But if I try to change the theme before I restart Sublime, it will put the user preferences back to what it was, either adding or removing content to get it back to what it was.

from themr.

benweier avatar benweier commented on May 31, 2024

Thanks for your patience @bcrotty. I can't replicate this with Sublime Text 3 build 3102 on OS X El Capitan. Could you provide your ST version and OS?

from themr.

bcrotty avatar bcrotty commented on May 31, 2024

Thanks for Themr! ST3 Build 3103 on Windows 10 & Windows 8.1.

from themr.

benweier avatar benweier commented on May 31, 2024

I'll try some testing on Windows today

from themr.

benweier avatar benweier commented on May 31, 2024

I've spent some time trying different sequences of actions with ST 3 b3103 on Windows 10 to trigger the issue and I can't replicate it.

Could you look into one other thing for me. Open the ST console with ctrl+` and change the theme. You'll notice a line that says "reloading /C/Users/user/AppData/Roaming/Sublime Text 3/Packages/User/Prefences.sublime-settings"

Themr should only be performing a single modification to the Prefences.sublime-settings file so if you see that line multiple times it means another package is performing an update to your settings as well. It could be the cause of problem. Have you changed settings with another package to see if it's isolated to just Themr?

from themr.

bcrotty avatar bcrotty commented on May 31, 2024

I disabled everything (including Package Control) except Themr and Theme - Soda, and it still happens. There is a single modification of Preferences.sublime-settings in the console.

My sequence of steps is:

  • Launch Sublime
  • Delete any line from Preferences.sublime-settings
  • Save Preferences.sublime-settings
  • Hit Ctrl+F8

At this point, Preferences.sublime-settings reloads back to what it was when I launched Sublime.

from themr.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.