nmaxcom / brackets-autosaver

Brackets extension to save your work as you type (automagically!). Perfect for file watchers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repo is no longer maintained and the extension may not work correctly or at all. Please fork it and pick it up where I left it for the next gen of coders. Do it!! Good luck!

brackets-autosaver

The MIT License GitHub version PRs Welcome

Finally!

A Brackets extension that saves your file as you type. No need to constantly press Ctrl/CMD + S. It helps you achieve a perfect workflow with file watchers (Gulp, Grunt, npm, CodeKit...). Almost 100k installs.

Simple demo gif:

brackets-autosaver

How does it work?

Brackets-autosaver hooks to key presses. To avoid triggering a file save command on every-single-keypress the extension waits 400ms (or any other delay of your choosing) from the last key pulsation.

So once you're finished typing a few words or a simple correction, then it saves the document (always the one you just edited).

It also detects changes made by cuting or pasting contents.

Is it always on?

Nope. You can turn this feature on and off easily from the File menu. So just check or uncheck File -> Enable auto saving.

How to install this awesome thing?

Like any other Brackets extension. Either look for it within Brackets extension manager or download this repo and drop it on Brackets.

About

Brackets extension to save your work as you type (automagically!). Perfect for file watchers

License:MIT License


Languages

Language:JavaScript 84.5%Language:HTML 15.5%