M
M
Mr Crabbz2015-10-14 11:48:34
phpstorm
Mr Crabbz, 2015-10-14 11:48:34

How to defeat incomprehensible indentation in phpstorm?

I am working with SASS in phpStorm 9.0.2. Periodically, when switching to a new line, instead of a single indent, the program makes 8 indents instead of one:
15a59e5f79f54adbab9a12f55da0794d.png
Moreover, it is completely random. In 10 selectors you write - normally, on the 11th - 8 indents.
Calculated - exactly 8 indents. In the settings I found a certain "Continuation indent", which was just 8. Changed it to 2 - it did not help.
cb004fcc02744e7fa3c3b9fd48b95ec5.pngfe94b57c5046404da617aa92ffae968b.png
Maybe someone had such nonsense? Terribly annoying and distracting. Moreover, if suddenly 8 indents began to work on a new selector, they will work on each property in this selector until you create a new selector.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cat Anton, 2015-10-14
@27cm

Try turning it off in the settings:
Also make sure that the latest version of the SASS plugin is used.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question