To extend the answer to @Dmitiri Algazin: settings for individual languages are canceled by the general setting
Preferences -> Code Style -> Detect and use existing file indents for editing
So, if you are wondering why your new settings are ignored after changing the settings for a specific language, there is a chance that this check box is checked.
As a side note; changing any default settings automatically creates a profile profile clone (i.e. Default(1) ), which, I believe, is set so that the default IDE settings are never overwritten.
At first it’s a bit confusing whether editing the Default settings or Project Settings really will have any effect on your project, since you can select Default from the drop-down menu and then edit from there.
If you do not want to see random default clones to populate settings profiles, edit the project settings directly.
GrayedFox Nov 07 '15 at 13:29 2015-11-07 13:29
source share