Home Download Buy Blog Forum Support

Random autosave-like behavior

Random autosave-like behavior

Postby jrfernandez on Fri Apr 05, 2013 11:59 pm

I started experiencing this recently. I have all autosave-like settings disabled. But whenever I type letters like "E" or "T", the console shows "Writing file" and all post-save hooks kick in (like trimming white spaces, or parsing a config file).

You can see this in action in the screenshot below. I started modifying the value of a setting, the file got randomly saved and the config parsing triggered. The interesting thing is that the tab keeps showing the file as un-saved.

This is happening in both the nightly build and stable build. I have also disabled the Git package "save_first" logic.

Sublime Text 2-1.jpg
Sublime Text 2-1.jpg (68.91 KiB) Viewed 452 times
jrfernandez
 
Posts: 2
Joined: Fri Apr 05, 2013 11:50 pm

Re: Random autosave-like behavior

Postby jrfernandez on Sat Apr 06, 2013 12:38 am

I found that the culprit was the RubyTest package and it's "save_on_run" option:

[
{ "keys": ["super+shift+r"], "command": "run_single_ruby_test" }, // single test
{ "keys": ["super+shift+t"], "command": "run_all_ruby_test" }, // test file
{ "keys": ["super+shift+e"], "command": "run_last_ruby_test" }, // test file
....
]

What's confusing is that I wasn't pressing the super+shift keys. So either I have stuck keys (which I doubt), or there is a bug in the plugin framework or their code.
jrfernandez
 
Posts: 2
Joined: Fri Apr 05, 2013 11:50 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 25 guests