HTML attribute completion using curly brackets
Answered
Say im creating a new element.
<section></section>
Now im going to add a new attribute to the element.
<section data-test></section>
As soon as I add the '=' after 'data-test' it SHOULD create quotes for me to enter the value.
However, recently it has been creating {} instead. It is driving me absolutely insane. It used to work correctly. I can't find the setting to go back to the way it was.
Please help!
Please sign in to leave a comment.
Hello,
You need to change JavaScript language version in Settings | Languages & Frameworks | JavaScript from "React JSX" or "Flow" to ECMAScript or JavaScript.
This behavior will be fixed in one of the next updates according to https://youtrack.jetbrains.com/issue/WEB-28689.
I keep seeing this working with React, it's frustrating!!
Unfortunately, this has not been fixed, even in Webstorm 2017.3