Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to see which files have not been saved in Android Studio?

Coming from Eclipse I now use Android Studio for development. In Eclipse it was always clear which files were not saved, but in Android studio I see no distinction between the open files that have been saved, and the ones that haven't. Plus, if there are any files that have not been saved when you build and run, Eclipse asks me whether I want to save those files before running. Both these functions make developing a lot easier.

So does anybody know:

  1. a way to distinguish between saved files and files that haven't been saved in Android Studio?
  2. a way to make Android Studio ask me if I want to save files before it builds and runs?
like image 829
kramer65 Avatar asked Nov 25 '13 12:11

kramer65


People also ask

Where are Android Studio files saved?

Android Studio stores the projects by default in the home folder of the user under AndroidStudioProjects. The main directory contains configuration files for Android Studio and the Gradle build files. The application relevant files are contained in the app folder.


2 Answers

The link plastiv provided explains that files are auto saved. It does not (as far as I can see) answer your first question about distinguishing saved and unsaved file. To do that, you can go to Settings > [IDE Settings] > Editor > Editor Tabs and select the option "Mark modified tabs with asterisk".

UPDATE

In IDEA v14 and later, this setting is located on the Settings > Editor > General > Editor Tabs pane

like image 163
Javaru Avatar answered Sep 27 '22 19:09

Javaru


Check IntelliJ IDEA Q&A for Eclipse Users: http://www.jetbrains.com/idea/documentation/migration_faq.html

Q: How do I make sure all my files are saved?

A: Don't you worry. They are all saved automatically.

like image 40
Sergii Pechenizkyi Avatar answered Sep 27 '22 19:09

Sergii Pechenizkyi