Reputation: 421
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?
Upvotes: 31
Views: 29187
Reputation: 1301
In my case I just downgraded Android Studio.
Before downgrade: Android Studio Giraffe | Patch 2
After downgrade: Android Studio Giraffe | Patch 1
Upvotes: 0
Reputation: 22206
File
>Settings
>Appearance & Behavior
>System Settings
>Autosave
> then uncheck bothSave files if the IDE is idle for |15| seconds
andSave files when switching to a different application
>Apply
After doing the above, you may like to do enable the following 2 options too-
File
>Settings
>Editor
>General
>Editor Tabs
> then checkMark modified (*)
>Apply
File
>Settings
>Keymap
> search with save document > right clickSave Document
>Add Keyboard Shortcut
> press Ctrl+S>OK
>Remove
>Apply
Upvotes: 48
Reputation: 996
For Android Studio v3.3
Ctrl+Alt+S
or File->Settings
)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.
Upvotes: 6
Reputation: 4171
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'
Upvotes: 18
Reputation: 7866
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:
Upvotes: 8