apply google coding rule to android studio
TRANSCRIPT
Apply Google's coding rules to Android studio
Jongho [email protected]
Android sttudio must have already been prepared
우선 , 안드로이드 스튜디오는 미리 설치되어 있어야 됩니다
http://code.google.com/p/google-styleguide/source/browse/trunk/intellij-java-google-style.xml
Click!
XML file Download
Ctrl + A or 모두 선택
and
Ctrl + C
open editor and Ctrl + V
%USER%\.AndroidStudio\config\codestyles
Save As
file name…Please it yourself
Save .xml file
open Android Studio
Apply Google Style
File -> Settings Code Style -> Scheme -> GoogleStyle click
and OK click
come back to code
Finally, Ctrl + Alt + l
after code reformat
THANK YOU
Jongho [email protected]