D
D
Denis Bukreev2018-09-07 11:39:51
webstorm
Denis Bukreev, 2018-09-07 11:39:51

How to make webstorm work fine with indentation?

I have settings for all files in general:
5b92389127914900490219.png
Including for "Other file types"
But for some reason, when I copy the code and paste it a couple of lines above, it is inserted with huge indents that do not match my settings:
5b9239210ee5f870256087.png
(File .vue in the tag <template>)
It doesn't lend itself to any logic at all.
How can this be dealt with?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Kitmanov, 2018-09-07
@denisbookreev

Try this setting:
Well, Code -> Reformat code

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question