atom / autosave

Autosaves buffers when they lose focus
MIT License
64 stars 34 forks source link

Add option: Only when under version control #88

Closed eode closed 5 years ago

eode commented 5 years ago

Prerequisites

Description

New feature: Auto-save distinguishes between files that are under version control and those that aren't.

Feature request

Current Behavior: No distinction is made between versioned and unversioned files.

Desired Behavior:

rsese commented 5 years ago

Thanks for the suggestion! I think this is basically a duplicate of issues like https://github.com/atom/autosave/issues/64 where a selective autosave could be useful for some people. As mentioned in https://github.com/atom/autosave/issues/64#issuecomment-344220940, this package exposes a service so that people can create packages to skip saving particular files so different options don't need to be added to autosave (also, the package mentioned in that issue might have the functionality you want?).