Emmet & font-size

Hello,

It's strange that "fsize" doesn't return font-size but font-style instead

I also tried "fonsi" "fsi" and got the same result

Is it an issue with Webstorm or with a 3rd party lib? Can you reproduce it?

Edit: I had to use "fz" and it works fine

https://docs.emmet.io/cheat-sheet/


Cheers

0

To me, result for fsize is font-size:

fsiz, however, expands to

font-style: italic;

as the closest abbreviation is fs:i

 

This is the Emmet fuzzy search in action (https://docs.emmet.io/css-abbreviations/fuzzy-search/) - it is performed against predefined snippet names, i.e abbreviations, not against CSS properties names. So the best match for fsiz is fs:i, not fz

You can disable fuzzy search in Settings | Editor | Emmet | CSS. See https://www.jetbrains.com/help/webstorm/2017.3/enabling-emmet-support.html#d61955e191

1

请先登录再写评论。