Sublime Forum

Tabs don't auto-update when file name or path changes OS X

#1

In OS X, if you rename or move a file, whether from Finder or even the ST2 sidebar, the open tab for that file does not reflect the change. Clicking that tab, editing, and saving will then create a new file with the original name/path.

OS X applications like TextEdit will notice that the open file has a new name and/or path and will save to the new place.

What’s particularly confusing is the sidebar itself does detect updates. If I change my project layout a bit in the Finder, the sidebar will notice and reflect that immediately. However, the open tabs still refer to the old layout and I’ll have to close all the tabs and re-open.

0 Likes

#2

SideBar Enhancements plugin will update your tabs when a file or folder is moved or renamed, also with cut and paste.
No updates for when the file is changed outside of the application.

0 Likes

#3

I thought this behavior was just a bug, but maybe it’s expected, then?

Hopefully, ST2 will behave this way natively in the future, but in the meantime it looks like this plug-in may help somewhat. Thanks for the recommendation.

0 Likes