Home Download Buy Blog Forum Support

AutoFileName (ST2/ST3)

Re: New Plugin: Autocomplete Filenames

Postby C0D312 on Thu Jan 19, 2012 2:47 am

Could you provide a sample of the code you are using so I have some context?
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: New Plugin: Autocomplete Filenames

Postby pod on Fri Jan 20, 2012 2:49 am

Image
Here it is.
pod
 
Posts: 37
Joined: Sun Nov 07, 2010 3:32 am

Re: New Plugin: Autocomplete Filenames

Postby rmaksim on Fri Jan 20, 2012 8:19 am

I reproduced the bug that is described above pod.
if you open the editor and start working, it is like in the screenshot - no files in the auto-completion.
but if you open and reload autоfilename.py (just save without changing anything), then the auto-completion is beginning to show the files.

pod - try to repeat my actions - open the file autоfilename.py and simply save it, and then try again auto-completion
rmaksim
 
Posts: 59
Joined: Sat Jul 02, 2011 7:31 pm

Re: New Plugin: Autocomplete Filenames

Postby pod on Sat Jan 21, 2012 9:19 pm

Correct, it worked after reloading plugin. Is there a way to fix that?
pod
 
Posts: 37
Joined: Sun Nov 07, 2010 3:32 am

Re: New Plugin: Autocomplete Filenames

Postby C0D312 on Sat Jan 21, 2012 11:17 pm

pod wrote:Correct, it worked after reloading plugin. Is there a way to fix that?


I'm working on a fix as we speak. It should be ready soon.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: New Plugin: Autocomplete Filenames

Postby C0D312 on Sun Jan 22, 2012 1:05 am

I just released a fix. Windows users, you could test it and make sure it works? I made some changes how it handles paths so I need someone to test on Windows. Thanks.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: New Plugin: Autocomplete Filenames

Postby pod on Sun Jan 22, 2012 4:13 am

Just reinstalled from package manager, now it doesn't work at all. No messages/errors in console as well. Also doesn't work after reloading.
I'm afraid this report will not help you :)
pod
 
Posts: 37
Joined: Sun Nov 07, 2010 3:32 am

Re: New Plugin: Autocomplete Filenames

Postby C0D312 on Sun Jan 22, 2012 4:48 am

pod wrote:Just reinstalled from package manager, now it doesn't work at all. No messages/errors in console as well. Also doesn't work after reloading.
I'm afraid this report will not help you :)

Hmm... I guess os.path.join is not as smart as the description on the docs said... Could you do me a favor and see if it works when you press \ instead of /?
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: Autocomplete Filenames

Postby rmaksim on Sun Jan 22, 2012 7:29 pm

In linux still starts to work only after a restart the plug-in, as described above.
rmaksim
 
Posts: 59
Joined: Sat Jul 02, 2011 7:31 pm

Re: Autocomplete Filenames

Postby C0D312 on Sun Jan 22, 2012 8:34 pm

rmaksim wrote:In linux still starts to work only after a restart the plug-in, as described above.


I'm not really sure what that's supposed to mean... AutoFileName does all of its work at runtime. So I don't know how a restart can change anything. Do you mean a restart just after installing it or every time to get it to work?
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

PreviousNext

Return to Plugin Announcements

Who is online

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