Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio Tab/Indent Space Settings Are Not Working (Stuck at 2 space indent)

I am trying to fix a tab/indent issue with Android Studio.

It is not setting the proper spacing (4) on new lines.

I tried setting the tab, indent, and continuation size to 4 but nothing changes.

enter image description here

Even setting crazy values has no effect

enter image description here

Do you know why I cannot get the spacing to be 4 instead of the 2 it's stuck at?

like image 475
Aggressor Avatar asked Jul 13 '16 17:07

Aggressor


1 Answers

Go to Settings -> Editor -> Code Style and unmark the checkbox "Enable EditorConfig support".

enter image description here

like image 132
Fabio Benigno Avatar answered Oct 17 '22 01:10

Fabio Benigno