java - Android Studio Code Formatting multiple files -


i know how format android studio files manually, there methods format code if close tab example. created macro formats code on saving, on viewed .java/.xml, i'm in need of doing opened/modified files (git) or project files.

the explanation: there screnarios, when have overwrite strings.xml manually outside of android studio, , can mess formattings, next person have open xml , hit save on it.

if select package or directory in project view on left side can format multiple files @ once. select scope (e.g. project directory) press ctrl + alt + l.

see intellij documentation.


Comments