Giter Club home page Giter Club logo

brackets-autosaver's Introduction

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.

brackets-autosaver's People

Contributors

nmaxcom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

brackets-autosaver's Issues

Not working on Release 2.0 , 2021

I have enabled it on File menu and tried changing the autosave config to different ms but nothing. It does not save.

Can you please help?

It doesn't work at all for me

I'm new to brackets but auto saving seems like a must have. I got many other extensions to work but this one doesn't. All I need to do is enable autsave in settings right? its set to default 400ms but nothing happens when I edit a basic file.

Search Bar closes

When you open the search bar (cmd+f) and start typing, the bar closes.

I guess you're saving when there's a keypress, but in that case you don't want to because the file isn't changing.

"CTRL + E" for change color

Hi, I really liked the "brackets-autosaver".
I found a defect, I hope you correct it.
If you nag "CTRL + E" and select a color for CSS, auto-saving does not work.

Improvement suggestion

Hi,

This extension is very welcomed. I love it.
I have a suggestion though. Coming from Notepad++, it has the auto save feature but it saves the files as temporary files in a Notepad++ folder .
This has three benefits:

  • The original file is only modified when you actually explicitly save the document. If you are working on the document and want to open it again to see the original content, you can do so.
  • If you are working on the same file with someone else, people are not constantly overwriting each others.
  • If you create a temporary new document, you don't have to worry about saving it.
  • In case of crash on new documents, they are not lost.

If you think this is valuable, would you consider adding this feature?
Thanks

Paste and undo/redo are not autosaved

If one makes a change in a document, and undoes it later, the change resulting from that will not get saved. Only if one were to maually save or type a space or something, the document is saved. As I use live preview all the time and undo changes a lot, it can be confusing as of why the change doesn't appear on the preview.

Also, when pasting a snippet of code in the editor, that is not autosaved as well. Finally, batch replacing of code doesn't autosave.

Brackets version: sprint 9 build 1.9.0-17312 (release 189f6d39a)
Extention version: 1.1.5

Make save trigger interval configurable

Too many write operations to an SSD reduces its useful life. On a regular HDD I'm a fan of "twitch-saves" but on an SSD (and my current work machine is totally SSD) this has long-term consequences to the viability of the drive(s). By allowing me to extend the trigger time I can maximize the usefulness of the plug-in without lowering the lifespan of my drives.

Works unreliably

Sometimes it works, and sometimes it doesn't. Whether a file is auto-saved seems to be random.

My platform: Windows 10
Brackets version:
Release 1.9 build 1.9.0-17312 (release 189f6d39a)
build timestamp: Tue Mar 21 2017 10:29:45 GMT+0000

saver back to start.

Everytime an edit is saved it deletes blank space and goes back to start of the empty line.

Code suggestions close upon auto save

While typing, code suggestions appear but because of the auto-saving they disappear as soon as the auto-save is triggered, rendering the suggestions feature impossible to use

Brackets version: Release 1.8 build 1.8.0-17108 (alf_localization_release_1.8 3af64fae4)
build timestamp: Wed Nov 02 2016 04:47:30 GMT-0700

Plugin version: 1.0.3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.