-
Notifications
You must be signed in to change notification settings - Fork 757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
open file dialog: start in last used directory across sessions #805
Comments
Hiho, actually, it would be useful if in this case scide respected the sincerely, On Fri, 05 Apr 2013 08:31:14 -0700
|
Currently the dialog shows the directory containing the currently focused document, if any, or else the working directory of the IDE (which is user home dir if the IDE is started by usual desktop means). A possible enhancement would be, if there's no current document associated with a file, use the last open location. There's 2 options here:
We could even combine this: first cycle through actually open docs in their focus order, if there's none with an associated file, then look up the recently opened documents list. I think this is better than the working dir of interpreter. On the other hand, we could use the working dir on the condition that it is explicitly overridden via preferences. Even in that case it might be better to only use it if the step (1) above fails, or only if both (1) and (2) fail. Opinions? |
I'd prefer something simple, thus I vote for recent files... |
Another improvement would also be to not recreate the dialog each time, but keep one instance hidden after it's first created, then only redisplay it next time. Thus, if the currently focused document is not associated with a file, the last open location in the current sessions would remain unchanged. This would also mean that the last directory shown in the dialog would persist even if the dialog was previously cancelled. Of course, this does not address the persistence across sessions, but it certainly makes sense to address both ideas at the same time. |
Solution has been implemented. The open file dialog will attempt to show paths in this order:
The save file dialog will attempt to show paths in this order:
|
It would be nice if scide remembered (across sessions) where you opened a file last time. It does remember it during a session atm, but on every new session it starts in my user directory, and I have to click through my folders to open a file.
The text was updated successfully, but these errors were encountered: