Sublime Forum

New file save location on Mac is always ~

#1

This used to default to the previous save location. While the best fix would be something like this, at least the previous behavior got me close since most of my code is under the same tree…

Current behavior is almost unusable, as typing “/” and pasting a path in no longer works either. I need to navigate to ~/Documents/code/<company>/<project>/<folder> using the MOUSE! :roll_eyes:

0 Likes

#2

For the record, this seems to happen whether I have a project in the mix or not. It is also the default location for Project > Save Project As…

0 Likes

#3

Does it happen in safe mode? Which version of Sublime Text are you using?

0 Likes

#4

It does not appear to happen in safe mode — the first file I save defaults to Macintosh Hard Drive, then later files default to the last save location.

I am on build 4169:

image

I don’t appear to have anything that would cause this in my settings; could a broken package be causing this?

0 Likes

#5

Okay, I finally figured this out! It don’t think it actually had anything to do with Sublime Text at all, but macOS security policy denying the app access to the path…

For anyone who might stumble upon this, this is what I saw when trying to save new files under the problematic path:

I was able to access the path, but only by navigating to the parent directory first, then clicking down into it. Very strange.

In any case, I solved it by moving my code directory from ~/Documents to ~/, then symlinking the original location (though I don’t think the symlink was strictly necessary since ST seemed to have picked up the new paths just fine).

Very happy to have this functionality back!

0 Likes