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

  • 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 使用Ctrl + S保存文件(这一步不一定需要)

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

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

你可能感兴趣的:(Code,Editor,Android,Android,Studio,studio)