Home Download Buy Blog Forum Support

BUG - Goto Anything and ghost files

BUG - Goto Anything and ghost files

Postby guillermooo on Sun Mar 06, 2011 1:06 pm

Symptoms

I was working on a project (sublime-project open). At some point I deleted the folders from the project, then closed the project. Later I added a different folder to the sidebar (no new project). I typed "keymap" to open a keymap under Packages/Default. The name's found, but an empty file opens; I'd expect to see the actual file. What's worse, on close it prompts me to save edits (I did none), so I suppose the original file would be clobbered with an empty one.

How to reproduce

Maybe like explained above, but haven't tried more than once.
guillermooo
 
Posts: 729
Joined: Thu Jul 23, 2009 9:06 am

Re: BUG - Goto Anything and ghost files

Postby guillermooo on Sun Mar 06, 2011 2:39 pm

Hm... It rather looks like I'm opening a deleted file lingering in the history... Goto Anything should be working fine, but I don't think keeping names of deleted files around is too sensible here.
guillermooo
 
Posts: 729
Joined: Thu Jul 23, 2009 9:06 am

Re: BUG - Goto Anything and ghost files

Postby adzenith on Sun Mar 06, 2011 5:20 pm

Ideally names of deleted files wouldn't be discarded, but they'd be hidden. If I normally open files from a mounted share, and it's unmounted at the moment, I'd rather have Sublime Text not show me those entries. But if I remount the share, I'd like those entries to pop back into the list.
I know that at least Preview.app does this with its recent files list.
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot], Yahoo [Bot] and 45 guests