Better Programming

Advice for programmers.

Follow publication

Member-only story

Exploring the .idea Folder in Android

Oliver Spryn
Better Programming
Published in
8 min readOct 20, 2021
IntelliJ IDEA running on a Microsoft Surface Studio

When is it ever good to ignore something that you don’t know anything about? Perhaps there are specific scenarios where such an action would be acceptable, such as using a car without understanding the engine. Yet, when it comes to aspects of your job which intimately affect your day-to-day operations, a better answer would likely be “never.”

Whenever I used to start a new Android or another IntelliJ-based project, the first thing I would often do was throw the entire .idea folder into my .gitignore file, and then proceed to set up my IDE and project to my specifications. I never gave another thought to what I was ignoring, because I had no idea what was inside that folder.

Little did I know what time I could have saved and what quality I could have brought to my project had I understood that folder a little better and could share it with my teammates. I’ve learned quite a bit about this mysterious folder from my research and real-world, collaborative experiences. By the end of this article, you’ll understand what parts of it you can share, and what you should keep to yourself.

Folder Anatomy

It is a bit difficult to pin down the exact structure of an .idea folder, since that is often a dumping ground for your IDE…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Oliver Spryn
Oliver Spryn

Written by Oliver Spryn

Lead Android Architect at UPMC Enterprises • Instructor • Content Creator • https://oliverspryn.com/

Write a response