Android Studio Tab Spacing

前端 未结 2 1957
野的像风
野的像风 2021-01-31 13:36

How can I change spacing in Android Studio to use tabs instead of spaces? I tried Preference -> Editor but I don\'t see the option there. I\'m

2条回答
  •  深忆病人
    2021-01-31 14:11

    This is a little weird, but others may have the same issue I did.

    Yes, follow the above directions, and do the normal changes in the config file. And guess what? it looks like it's still making spaces instead of tabs, even though the settings say TABS, not spaces!

    Turn on "show whitespaces" (Editor -> General -> Appearance). And then turn it off. Looks like this is enough to reset the editor so that it is now following the rules you set in the preferences.

提交回复
热议问题