akalongman / sublimetext-autobackups

Sublime Text 2/3 Auto backups plugin
MIT License
71 stars 22 forks source link

redefinition of max_backup_file_size_bytes not working (OSX) #11

Closed aaltland closed 10 years ago

aaltland commented 10 years ago

I redefined the above variable through

{ // Files larger than this many bytes won't be backed up. "max_backup_file_size_bytes": 524288 // = 512 KB }

in the user preferences file. Files beyond 256 kB still won't backup:

screen shot 2013-12-19 at 10 18 50 am

akalongman commented 10 years ago

Are you sure? It's works fine for me

aaltland commented 10 years ago

Yep, doesn't work. This is my user settings file screen shot 2013-12-19 at 4 41 57 pm

If I try to save a file >256kB (default settings) I get the error message. For smaller files backup works OK.

akalongman commented 10 years ago

Hey dude, you must rename your settings file to AutoBackups (OSX).sublime-settings (OSX with uppercase)

aaltland commented 10 years ago

And yet ... still not working

screen shot 2013-12-19 at 6 04 34 pm

akalongman commented 10 years ago

I don't forget restart ST?

aaltland commented 10 years ago

Got it. I did a restart, but that wasn't it. There appears to be a bug in ST3: If I change the filename in 'save as' it indicates a change (see screenshot above), but the file itself is actually NOT renamed (remains Osx). A manual rename in ~/library did the trick. Now it's working. One should do something about this capitalization business ... thx