Android studio 关闭自动保存功能(实测)

  • 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

  • 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 使用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

参考:https://stackoverflow.com/questions/28946013/how-to-disable-auto-save-save-in-android-studio

posted @ 2018-08-16 17:47  格鲁特baby  阅读(334)  评论(0编辑  收藏  举报