Sublime Forum

Is file opened by any workspace?

#1

Is there any plugin that tells me whether a given file is opened by any / which workspace?

I often find myself leaving files opened in a workspace when I close the workspace, because I have bookmarks that sometimes mark where there is still a TODO.

But when I then want to rename or move a file or directory, I have to manually check all workspaces that could be relevant.

Because if I don’t do that … If I rename the file and then open the previous workspace, I can’t tell those files apart that are “existing as a file” but genuinely unsaved (I try to avoid that, of course … but it happens) from files that have broken references due to the renaming. With those broken references, saving those files would create new files with partially duplicate, unsynced content.

I could do a grep on *.sublime-workspace files … But that doesn’t let me distinguish e.g. between opened files and recent files; or files in any search history listing.

0 Likes