Android Studio 2.1.1 using tabs, not spaces, even though tabs are not checked in Settings -


when editing java files, if i'm @ end of line , type enter key, starts next line indented 4 columns, match line above. that's ok it's indenting tab, not spaces, though in file>settings>editor>java>tabs , indents checkbox use tab character unchecked, , has been.

if type tab key tab, not spaces.

i never want use tab characters; want use spaces. don't have problem in eclipse or microsoft visual studio it's not system setting pc. there other setting in android studio this?

edit: tried suggestion omar al halabi (below) made , didn't work while testing noticed interesting: tab problem seems apply beginning of line, i.e., if type enter on previous line, tabs on first indent position on following line, using real tabs, not spaces. on other hand if i'm typing text on existing line, once i've typed little text, if hit tab, tabs on using spaces.

hope helps,

check use tab character,

give values zero not space on enter in java code, in below image,

one more thing have change code format settings or may need disable it

enter image description here


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo