How to disable Auto Save save in Android Studio

2019-01-15 07:10发布

问题:

Is there way to disable auto save in Android Studio ?
I already uncheck "Save files automatically if application is idle for nn sec." in Setting->General.

Thanks

回答1:

In android Studio 2.1.1, 2016

File -> Settings -> Appearance and Behavior -> System Settings And see synchronization paragraph and uncheck autosave and/or 'use safe write'



回答2:

Disable Auto Save

File > Settings > Appearance & Behavior > System Settings > Synchronization > then uncheck both Save files on frame deactivation and Save files automatically if application is idle > OK


Now, you may want to do this too.

Mark Changed But Unsaved File

File > Settings > Editor > General > Editor Tabs > then check Mark modified tabs with asterisk > OK

Save One File with Ctrl+S

File > Settings > Keymap > search with save document > right click Save Document > Add Keyboard Shortcut > press Ctrl+S> OK > Remove > OK



回答3:

If you go to Settings, and type Save in the search you will find under the IDE Settings an area called "General". From there you can find a number of options to control saving. It sometimes does not work and saving will continue anyway. Unfortunately there is no universal "turn-off" switch. AS is a hand holding IDE, you just have to get use to it.

Settings section you are seeking looks like this: