How to remove auto formatting from Android Studio?

I would like to know how to disable autoformatting Android Studio?

For some reason, empty lines are always devoid of tabs or spaces, regardless of scope or what ever was. Even if I manually placed the tabs there, in a few seconds they will disappear. Its so annoying that I should always always click on a tab before writing code. Perhaps this can happen because I am using an older version of the program. But I can’t even upgrade (the problem is on another day, not today). So, if anyone has a solution to this, please share? Thanks in advance.

+4
source share
1 answer

You can change the formatting style in File>Settings>Editor>Code Style>Languages.

Edit:

enter image description hereClick on the language you want to change formatting. You can see another tab to change spaces and lines.

Note: Screenshot taken on Android Studio 1.4

+3
source

Source: https://habr.com/ru/post/1613783/


All Articles