How to disable Auto Save in Android Studio

我们两清 提交于 2019-11-26 21:29:37

问题


Is there way to disable auto save in Android Studio?

I have already unchecked "Save files automatically if application is idle for n sec"

under Setting->General.

Anything else to be done?


回答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:




回答4:


For Android Studio v3.3

  • Open Settings (Ctrl+Alt+S or File->Settings)
  • On the top left corner of the settings menu, search for "save" in the search bar field
  • Click on System Settings and all the sub-settings related to save will be highlighted

  • Uncheck Save files automatically if application is idle for * sec

  • Click on apply and close the settings menu.

It is highly recommended to follow this method Mark Changed But Unsaved File which will help you distinguish between your unsaved and saved files.



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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!