How to manage Save file when changing a file in Android Studio?

Now I use Android Studio instead of eclipse, I hope I can control it, if I need to save the file, it seems that Android Studio automatically saves the file.

After I try to close the window with the modified file, I hope that Android Studio can display a help dialog box and let me choose whether to save the modified file. How can i do Thanks!

+5
source share
1 answer

Android Studio is based on the JetBrains IntelliJ IDEA platform, which fully controls files when saving files. The only options for controlling file saving are in Appearance and behavior> System Settings > Section "Synchronization" in the settings. They will not do what you need.

Many people switching from alternative IDEs have the same problems as you. In all the discussions, I can find that there is no way.

JetBrains developers claim that since the platform built local differences in history for all stored files, any file can always be rolled back.

More from JetBrains developers: https://devnet.jetbrains.com/docs/DOC-191

The following is a similar discussion of this problem for IntelliJ IDE: IntelliJ - does not ask if I want to save the file

+5
source

All Articles