Answer the question
In order to leave comments, you need to log in
JS highlighting in PHPStorm breaks due to expand statement, what should I do?
The settings are set to ES6:
But in the project (on VueJS), the highlighting starts to throw errors due to the reversal operator, which is in ES6:
If the line with this operator is commented out, then the highlighting returns to normal
What can I do about it?
Now I saw that the editor also considers arrow functions as an error in the code.
Answer the question
In order to leave comments, you need to log in
Adding an attribute to the script tag helpedtype="text/babel"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question