A
A
an_tropa2019-09-08 17:29:07
css
an_tropa, 2019-09-08 17:29:07

Emmet unpacks incorrectly, how to set it up?

Tell me, today emmet started to fail. It doesn't unpack correctly.
1. Reinstallation didn't help
2. Emmet command palette: Expand Abbreviation unpacks all the same nonsense as with CTRL+E
3. The syntax in the settings is correct
4. I thought that the conflict with AutofileName was deleted. Didn't help
For example:
tac - text-align: center now unpacks as ttext-align: left (extra t in front)
fz - font-size now unpacks as ffont:
and so with each selector. There is no problem in html, only in css

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
an_tropa, 2019-09-08
@an_tropa

Found what was wrong - if I may say so.
There was a line in the SASS code

&::after
  content: '>'

The problem was that before the line content: '>' emmet unpacked everything as expected. And if you write something after it, then it was not unpacked correctly. I don't know what the problem is, obviously due to the use of the content: '>' parameter, and the ">" symbol, replaced this symbol with its css code and emmet continued to unpack everything as it should. Here is such a problem.

X
xonar, 2019-09-08
@xonar

It was like that, but I had to demolish VS code. I don't know what you are using, but it might help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question