Home Download Buy Blog Forum Support

AutoFileName (ST2/ST3)

Re: AutoFileName: Now with 50% more auto!

Postby C0D312 on Sat Aug 04, 2012 12:07 am

pod wrote:Hi, I did change on_query_completions a little and it worked for Windows. Sorry I didn't have much time to check what you are doing there with view.settings(), but if you just need to read settings from autofilename.sublime-settings - why are you not using sublime.load_settings('autofilename.sublime-settings')? There potentially could be other places where you may want to change view.settings() to sublime.load_settings().

Yeah, ignore that. I broke the plugin :/
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: AutoFileName: Now with 50% more auto!

Postby rchl on Mon Aug 06, 2012 9:56 pm

Next step to make it really not show "Slow plugin" dialog ever, would be to move the file system access to a separate thread. :)
rchl
 
Posts: 147
Joined: Fri Mar 04, 2011 11:02 pm

Re: AutoFileName: Now with 50% more auto!

Postby mazzzzz on Sat Aug 18, 2012 7:28 pm

I completely second the secondary thread for file system calls. I use ExpanDrive to hit FTP servers for files; so I don't have to download them all, and this program kept freezing sublime up while waiting for the FTP to return, so I had to disable it.
Moving this to be nonblocking, and just popping up when it has information would be really nice.
mazzzzz
 
Posts: 7
Joined: Fri Aug 03, 2012 5:37 pm

Re: AutoFileName (ST2/ST3)

Postby C0D312 on Sun May 05, 2013 6:01 pm

Sublime Text 3 support added. You'll have to manually switch to the st3 branch.

Important: Python 3 broke AutoFileName's method for getting image dimensions. I was able to fix this for PNGs and GIFs but have been stumped by JPEGs. Therefore, if anyone understands all this JPEG-mumbojumbo could you please submit a pull request? Thanks.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: AutoFileName (ST2/ST3)

Postby C0D312 on Fri May 24, 2013 9:11 pm

Added some new features and fixed all the really old Windows bugs. Sorry that it took so long. Also corrected some heinous spelling errors in the readme (possibly added more but who has time to proofread these days?)

Let me know if there are any issues.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Previous

Return to Plugin Announcements

Who is online

Users browsing this forum: Exabot [Bot] and 10 guests