How to disable Auto Save save in Android Studio

2019-01-15 06:34发布

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

3条回答
走好不送
2楼-- · 2019-01-15 07:10

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: enter image description here

查看更多
贼婆χ
3楼-- · 2019-01-15 07:21

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'

查看更多
我命由我不由天
4楼-- · 2019-01-15 07:28

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

Screenshot- Disable Auto Save


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

Screenshot- Mark Changed But Unsaved File

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

Screenshot- Save One File with Ctrl+S

查看更多
登录 后发表回答