4

I want to set Android Formatter on Android Studio 0.8.4. But I can't find ~/Library/Preferences/AndroidStudio(Beta)/codestyles directory.

Where is the codestyles directory?

Reference: Android Code Style in Intellij Idea / Android Studio

Environment

  • Mac OS X 10.9.4
  • Android Studio 0.8.4
Community
  • 1
  • 1
sugoi_wada
  • 101
  • 1
  • 4

2 Answers2

0

The directory is at ~/.AndroidStudioBeta/config/codestyles on Linux, should be similar for other OSs (i.e., under user's home directory).

If the codestyles sub-directory does not exist, you can simply create it and put your custom style XML file there.

ozbek
  • 20,955
  • 5
  • 61
  • 84
0

What you are asking about is something like "C:\Users\.AndroidStudio2.3\config" in which you should create the "codestyles" folder manually. However, I think you don't really have to do this in Android Studio 2.3, go to Settings->Codestyle->XML and click 'Manage' button and 'Import' your xml style file from any where on your local hard drive.

Ali Nem
  • 5,252
  • 1
  • 42
  • 41