如何导入.XML code风格融入Android的工作室1.5.1 OSX [英] How to import .XML code style into Android Studio 1.5.1 for OSX
问题描述
我要导入官方谷歌$ C $ç风格的进入的Android 1.5.1工作室
I am trying to import official Google code styles into Android Studio 1.5.1.
我已经把该文件名为的IntelliJ-Java的谷歌-style.xml
这里:
I have placed the file named intellij-java-google-style.xml
here:
/Users/me/Library/Preferences/IdeaIC14/codestyles
正如描述在Stack这个答案。然而,它不显示
我试图进一步的办法<一href=\"http://metova.com/dev/blog/2014/08/27/how-to-import-the-official-android-$c$c-style-to-android-studiointellij/\"相对=nofollow>这里描述,并放置在〜/库/ preferences / AndroidStudioBeta / codestyles
,但也相同的文件没有工作。
I further attempted the approach described here and placed the same file in ~/Library/Preferences/AndroidStudioBeta/codestyles
, but that also did not work.
任何人都可以提出来导入codestyles Android Studio中1.5.1的正确方法?这里是什么我运行的:
Can anyone suggest the right way to import codestyles in Android Studio 1.5.1? Here is exactly what I am running:
推荐答案
您已经放置在code风格的.xml由IntelliJ IDEA的,而不是Android的工作室使用的路径。为Android Studio中的相应的路径是:
You've placed the code style .xml in a path used by IntelliJ IDEA, not Android Studio. The corresponding path for Android Studio is:
/Users/me/Library/Preferences/AndroidStudio1.5/codestyles
这篇关于如何导入.XML code风格融入Android的工作室1.5.1 OSX的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!