Most of the time when I work with Sublime Text, I’ve opened up a folder (or a file in a folder), and I want any new file I create to go in the same folder that I’m currently working in. If I’m not watching carefully, though, Sublime saves in the last folder I’ve saved to previously, which is often out of date.
Example workflow:
Open up folder A.
Edit 3 or 4 files from folder A, all in the same Sublime window.
Save a new file in folder A.
I’m finished for a while with the project in folder A.
Next day, open up folder B.
Look at or edit a couple files in folder B, in the same Sublime window.
Start a new file, still in folder B’s window, with all folder B stuff showing in the left sidebar.
Click save, and Sublime automatically tries to save to folder A, but I almost certainly want it in folder B. Depending on whether I notice this at the time, or whether a same-name file already exists in folder A, this can be more or less of an annoyance, and I may have to go find the file in folder A to move it later.
I assume this is pretty typical usage, based on the fact that Sublime shows the whole current folder and contents in that left sidebar. Why not save to this folder? (Maybe last-saved-location would be a good secondary guess, if I started a new file from somewhere that there IS no “current folder” on the left yet.) I also did a quick search and couldn’t find a way to adjust this behavior in the settings.
Thanks!