Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Coda plugin to automatically save edited documents upon application focus resignation
C Objective-C
Failed to load latest commit information.
CodaAutosaveOnDeactivate.xcodeproj [NEW] Initial commit.
English.lproj [NEW] Initial commit.
CodaAutosaveOnDeactivatePlugin.h [NEW] Initial commit.
CodaAutosaveOnDeactivate_Prefix.pch [NEW] Initial commit.
CodaPlugInsController.h [NEW] Initial commit.
Info.plist [VERSION] 1.1: Made compatible with Coda 1.7.x.
README.markdown [VERSION] 1.1: Made compatible with Coda 1.7.x.



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.

Something went wrong with that request. Please try again.