ide - Change Default Indentation in Android Studio & about the indentation terminology -


instead of

for (...){ code; } 

i want:

for (...) {    code; } 

i want change default style first one, second style, in android studio. also, please tell me terminology each style? (if there terminology such things). thanks!

according changing style of-braces in-android studio,

you need change code style in project settings

file -> settings -> (project settings) -> code style -> java -> wrapping , brances change braces placement class , method declaration next line

(or, on mac, same thing in preferences)

like here


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -