Home Download Buy Blog Forum Support

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

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

Postby gjd on Tue Nov 01, 2011 11:33 am

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.
gjd
 
Posts: 8
Joined: Sat Oct 22, 2011 11:09 pm

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

Postby tito on Tue Nov 01, 2011 11:40 am

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.
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 706
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

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

Postby gjd on Tue Nov 01, 2011 1:09 pm

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.
gjd
 
Posts: 8
Joined: Sat Oct 22, 2011 11:09 pm


Return to Technical Support

Who is online

Users browsing this forum: Max1mus and 27 guests

cron