Skip to content

lilumi/CodaAutosaveOnDeactivate

 
 

Repository files navigation

CodaAutosaveOnDeactivate

I got tired of forgetting to save all my splits (I usually run the max number of allowed splits (4)) before previewing in Firefox or committing in git. So I wrote this plug-in.

This plugin was fueled by jealousy of @violasong's use of TextMate's Prefs > Advanced > Saving > Save files when focus is lost setting.

Rev-locked to Coda 1.6.x - 1.7.x because I take advantage of private undocumented reverse-engineered internal Coda architecture.

Panic peeps: I wouldn't need to rely on your internal stuff if you did one or both things:

  • Allow AppleScript save someSplit to work.

  • Get your -[NSDocument isDocumentEdited] implementation working.

Install it in ~/Library/Application Support/Coda/Plug-ins.

About

Coda plugin to automatically save edited documents upon application focus resignation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published