Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 779 Bytes

README.markdown

File metadata and controls

15 lines (8 loc) · 779 Bytes

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.