Open littlee opened 3 years ago
For me Emmet is not working at all in PostCSS. E.g. I type fz
(Tab) and nothing happens, whereas it works fine in CSS.
I'm having the same issue as well. Has anybody found a solution?
Yeah, emmet literally doesn't use any of the builtin css stuff once this plugin is installed. I just uninstalled it and now my css files work again, and don't give me @apply or whatever errors. 🤷♂️. Maybe just the tailwind plugin is good enough.
you can fix this by adding postcss
to the emmet.includeLanguages
setting in your vscode preferences:
{
"emmet.includeLanguages": {
"postcss": "css"
}
}
https://marketplace.visualstudio.com/items?itemName=csstools.postcss#adding-support-for-emmet
you can fix this by adding
postcss
to theemmet.includeLanguages
setting in your vscode preferences:{ "emmet.includeLanguages": { "postcss": "css" } }
https://marketplace.visualstudio.com/items?itemName=csstools.postcss#adding-support-for-emmet
After doing this, the emmet is working but it is giving only some suggestions
you can fix this by adding
postcss
to theemmet.includeLanguages
setting in your vscode preferences:{ "emmet.includeLanguages": { "postcss": "css" } }
https://marketplace.visualstudio.com/items?itemName=csstools.postcss#adding-support-for-emmet
After doing this, the emmet is working but it is giving only some suggestions
Same, not working fully yet, but this helpfull for now.. i hope more solution to fixed and working fully
Adding css
to the files.associations
setting in your settings.json:
}
"files.associations": { "*.css": "css" },
in postcss mode, typing 'col' always has only ONE suggestion
in css mode, typing 'col' gets MANY suggestions, which is good.