I'm having troubles with my Emmet module in VS Code. The problem occurs when I'm trying to declare an array in JS using array literals. Every time I close the brackets, on the last one, Emmet pops up and suggests some wild stuff I've never seen, written or encountered in any matter before. It looks like this:
> "Emmet Abbreviation
<div 5,="|" 30,="|" 50="|">|</div>"
See the screenshot, please.
It tries to paste this in my code and does so on "Tab" keypress. I don't know where this come from and was unable to fix this. This bug is so annoying.
Any suggestions on how to get around with this and why it has become so at all?

CodePudding user response:
Add " in start and end of your data.
'''const someArr = "data"'''
CodePudding user response:
simply type the brackets and items first:
[5, 30, 50]
then type the name and identifier:
const someArr = [5, 30, 50]
I know this is annoying but have not found another way.
