Sublime Forum

Keep track of recently modified/saved files

#1

Hello,

It would be awesome if there’s a way to keep track of list of modified files in a project.
There should be a way to clear the list as well. So basically, this is very similar to the “Open Recent” menu, which keeps track of recently closed files but rather for modified/saved files.

Here’s a use case for it.

I’m a single developer working on various website projects and I don’t want to use any version control tool (only because either i don’t want to pay for it or it’s too resource intensive to run it on my laptop that I’m using to do development work).
After publishing the project in Production server, I’m constantly working on incremental enhancements to the website. The changes for one enhancement may include css files, js file, view files, controller files, and config files that are all over different directories in my project.
I don’t want to upload all files again or rely on ftp auto-sync feature but rather upload only the changed/saved files manually myself.

If this feature is available in sublime text then I would simply review the list of files that have been modified/saved and upload them to the server and clear the list before starting the next enhancement change. (I guess this list should include new files as well, so maybe the file name should be added whenever Save function is used)

I already checked to see if there is a plugin for this but couldn’t find one either.

What do you think? :smile:
Thanks!
-David

0 Likes

#2

This would be pretty easy to do in a plugin. There are listeners for on_close (and on_pre_close in ST3). You would have to customize the “action” yourself though. I could see a listener capturing all of the closed files. Then when you run another command, you are able to select some set of files and perform some action. In your case specifically, it would be uploading to a server.

That being said, I can’t say I understand your reasoning for not using a VCS. As for resource intensive, having a git or mercurial repository (as far as I know) doesn’t actually run anything while you are developing. In addition, both are free. If you would rather not deal with the UI tool, there are GUI based clients for all platforms. Git and mercurial are both DVCS, so you don’t need a “server” to host the code as you would in some systems like subversion.

0 Likes