KO
|
EN
gitlite — search
Search
#php
#javascript
#python
#ios
#library
#java
#linux
#ruby
#dotfiles
#wordpress
#jquery
#parse
autosave
★ 63
Open GitHub ↗
Autosaves buffers when they lose focus
Download README (.md)
Explore Similar Repositories
react-autosave
:
A lightweight solution for auto saving controlled form values
pdfreader.nvim
:
Neovim plugin: read PDF files inside Neovim with dark/text modes, autosave, and bookmarks.
CKEditor-AutoSave-Plugin
:
Auto Save Plugin for the CKEditor v4 which automatically saves the content (via HTML5 LocalStorage)
kens-editor
:
A stack of autosaved blank pages.
brackets-autosave-files-on-window-blur
:
Autosave all open files when switching applications, in the style of PHPStorm/WebStorm.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
autosave
?
Download (.md)
##### Atom and all repositories under Atom will be archived on December 15, 2022. Learn more in our [official announcement](https://github.blog/2022-06-08-sunsetting-atom/) # Autosave package [](https://travis-ci.org/atom/autosave) [](https://ci.appveyor.com/project/Atom/autosave/branch/master) [](https://david-dm.org/atom/autosave) Autosaves editor when they lose focus, are destroyed, or when the window is closed. This package is disabled by default and can be enabled via the `autosave.enabled` config setting or by checking *Enabled* in the settings for the *autosave* package in the Settings view. ## Service API The service exposes an object with a function `dontSaveIf`, which accepts a callback. Callbacks will be invoked with each pane item eligible for an autosave and if the callback returns true, the item will be skipped. ### Usage #### package.json ``` json "consumedServices": { "autosave": { "versions": { "1.0.0": "consumeAutosave" } } } ``` #### package initialize ``` javascript consumeAutosave({dontSaveIf}) { dontSaveIf(paneItem -> paneItem.getPath() === '/dont/autosave/me.coffee') } ```