Android studio 关闭自动保存功能(实测)
File
>Settings
>Appearance & Behavior
>System Settings
>Synchronization
> then uncheck bothSave files on frame deactivation
andSave files automatically if application is idle
>OK
(这一步一定要做,不然无法用是否带*号判断是否保存)
File
>Settings
>Editor
>General
>Editor Tabs
> then checkMark modified tabs with asterisk
>OK
File
>Settings
>Keymap
> search with save document > right clickSave Document
>Add Keyboard Shortcut
> press Ctrl+S >OK
>Remove
>OK
参考:https://stackoverflow.com/questions/28946013/how-to-disable-auto-save-save-in-android-studio