S.B Liu
S.B Liu

Reputation: 13

WebStorm: vue file cannot auto indent

I'm using WebStorm 2017.2, but when I edit *.vue file, I found that in the <template> </template> part, the editor can not auto indent when the lang property is set.

pic1

When unset the lang property, it works fine:

pic2

and in other file, the auto indent work fine, how can I resolve it?

Upvotes: 1

Views: 828

Answers (1)

lena
lena

Reputation: 93848

Currently code style is applied only to the template and style attributes with the default language (without lang attribute). Please follow WEB-25863 for updates

Upvotes: 2

Related Questions