PhpStorm Indentation for SCSS & JS, is adding extra tab?!

Hi,

Loving JetBrains products so far but one thing is driving me crazy is the indentation.

For SCSS & JS files (mainly) it adds a sort of half indent. Picture describes it all below, first code block is fine (I've manually indented it to where it should be), but second code block illustrates the problem. This only happens on 70% of the files I edit.

Any ideas?

Thanks in advance.

0

Please reformat the file with Code > Reformat Code - what is the result?

Please share a screenshot of Settings | Editor | Code Style | Style Sheets | SCSS page; also, do you have .editorconfig file(s) in your project? is Enable EditorConfig support checked in Settings | Editor | Code Style?

0

请先登录再写评论。