How to format code in Android Studio (IntelliJ IDEA) May 14, 2023 by Tarik Just right-click on the project or directory, and select Reformat Code