netbe / Babelish

Chaotically confused, like Babel
http://netbe.github.io/Babelish
MIT License
254 stars 84 forks source link

Android strings.xml indented with tabs instead of spaces #126

Open raragod opened 4 years ago

raragod commented 4 years ago

In generated strings.xml files for Android, tabs are used instead of spaces for indentation causing Android Studio to complain. Can a config flag be added that'll help developers adhere to the coding standard they follow?

netbe commented 4 years ago

ok I am wondering if tabs are even needed, as when i look at other adapter, only spaces are used. @raragod Do you know if eclipse or other editors require tabs?

raragod commented 4 years ago

I'm not sure about the other editors but this is the default formatting setting in Android Studio which follows the Code Style Guide defined for Android by Google: https://source.android.com/devices/architecture/hidl/code-style. Indentation formatting is here: https://source.android.com/devices/architecture/hidl/code-style#formatting