Hello
I'd like to add something about templates. Look at first screenshot. Pay special attention to tabs. I use tabs for indent, never spaces.
When I create new file using this template all tabs are changed into four spaces:
Then after saving new file, every three spaces are converted back to tab, leaving one space for every tab:
This is quite strange and makes using complicated templates unuseful for me, because I have to delete this one left space character. Please don't tell me to change indent from tabs to spaces, it's not an option. Here is my settings screen (maybe I messed something):