Comments (11)
That's very interesting @bcrotty I'll look into it
from themr.
@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.
@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.
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.
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.
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.
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.
Thanks for Themr! ST3 Build 3103 on Windows 10 & Windows 8.1.
from themr.
I'll try some testing on Windows today
from themr.
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.
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)
- Ability to Change Color Scheme HOT 3
- st3 switches to default theme upon launch HOT 7
- Colour Scheme Switcher HOT 4
- Missing Star, Check, and X Characters in Themr / Schemr Lists on Windows 10 HOT 2
- could this change color scheme together? HOT 3
- After Remove "BOXY Theme",run themr list,also can see boxy HOT 6
- Themes not listed - only Default theme HOT 2
- [Feature request] Keep theme options palette open after toggle HOT 1
- Didn't work HOT 1
- Themr no longer in Package Control repositories HOT 3
- Support color schemes? HOT 1
- Sometimes it doesn't show up. HOT 4
- Current usage of `settings.add_on_change` is errorneous HOT 3
- add theme option settings automatically. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from themr.