Home Download Buy Blog Forum Support

Problem: Samba share and SSH Mount

Problem: Samba share and SSH Mount

Postby mizwo on Mon Oct 31, 2011 3:11 pm

Hi,
generally all our windows users work on Samba shares, which works quite well, the folders and files show up as expected in Windoes Explorer or any other File Explorer System (that I know of, Komodo Edit for example has also no problems). Sublime Text 2 though has problems with some folders expanding in the sidebar and caching for "Goto Anything". Some of the folders have many child folders and files, but won't show up.

Alternativly I today tried to mount via ssh with this neat programm called Dokan SSHFS http://dokan-dev.net/en/download/#sshfs but the exact same problem there. The funny thing is when I rename the faulty folders, they work, if i copy them, the copies work.

If I copy the whole folder structure to my local disk, also no problem. I also want to mention, that if I drag the problematic folders in directly, there's also no problem showing their content.

The situation seems to get clearer the longer I fiddle around with it =)
I just recognized that the console spits out "scan: /path/to/folder/problemfolder has been seen before, skipping" on every folder that is problematic. So it's a caching thing?
And: It all seems to work again If I do Project/Refresh Folders, which I have to do everytime I start Sublime or/and I drag in a folder.
If it is a caching problem it may not be related to Samba or SSH at all, not sure.
mizwo
 
Posts: 12
Joined: Fri Oct 28, 2011 12:31 pm

Re: Problem: Samba share and SSH Mount

Postby jonrandy on Tue Nov 01, 2011 1:21 pm

I've got exactly the same problem. I can only navigate folder structures about 2 deep
jonrandy
 
Posts: 1
Joined: Tue Nov 01, 2011 1:20 pm

Re: Problem: Samba share and SSH Mount

Postby yuters on Mon Mar 05, 2012 4:46 pm

I have this problem as well, on mac.
yuters
 
Posts: 1
Joined: Mon Mar 05, 2012 4:44 pm

Re: Problem: Samba share and SSH Mount

Postby wbond on Tue Mar 06, 2012 2:06 pm

For GoTo file to work as fast as it does, Sublime needs to know about all of the files in a folder. To do this, I presume it has to recursively list all of the folders. I could be completely wrong, but I am guessing that having a slow connection over Samba or SSH is causing Sublime to take longer to parse the folders. If you are having trouble expanding the folders, I would hazard a guess that Sublime uses the cached folder contents for the left column.
wbond
 
Posts: 532
Joined: Mon Feb 28, 2011 5:33 am

Re: Problem: Samba share and SSH Mount

Postby jbrooksuk on Tue Mar 06, 2012 2:47 pm

I don't know if this will help, but you could try following my blog post.
jbrooksuk
 
Posts: 782
Joined: Sun Apr 11, 2010 10:37 am
Location: England


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 9 guests