Customizing indentation not working.

No matter what values I put in Editor->Code Style->Javascript Tabs and Indents 

whenever I select Auto-Indent Lines it indents to two spaces.

What am I doing wrong?

0

Hi there,

Check if you have .editorconfig files in your project -- settings from there will overwrite Code Style.

2

Please try disabling EditorConfig support in Preferences | Editor | Code Style by unchecking 'Enable Editorconfig support' checkbox - does it help?

1

请先登录再写评论。