Home Download Buy Blog Forum Support

Issue with openPreviousFiles

Issue with openPreviousFiles

Postby FieryRobot on Tue Nov 10, 2009 3:43 am

It seems like openPreviousFiles only really works if you didn't open a file from the shell. If I open the app, it works fine. But right click a file in the shell and open it in the editor and none of the previous files show up. This is proving to be very frustrating. If this is an intentional behavior, I beseech you to alter it. It's totally not what I expect to happen. :shock:

That said, it's about damn time someone made a decent editor for Windows. Thanks! :-)
FieryRobot
 
Posts: 1
Joined: Tue Nov 10, 2009 3:39 am

Re: Issue with openPreviousFiles

Postby jps on Tue Nov 10, 2009 4:53 am

There are a couple of options for getting the behavior you describe:

* Add --restore to the command line, OR
* When exiting Sublime Text, exit using File/Exit and preserve session

I tend to do the latter: if your goal is to exit, then start where you left off when reopening, even if doing it via opening a file from the shell, then it's what you want. It also restores new files, changes to files, the current selection, etc.

It'd likely be better if openPreviousFiles did imply --restore though.
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 21 guests