postcss-language icon indicating copy to clipboard operation
postcss-language copied to clipboard

emmet not woking well in vscode

Open littlee opened this issue 3 years ago • 7 comments

in postcss mode, typing 'col' always has only ONE suggestion

image

in css mode, typing 'col' gets MANY suggestions, which is good.

image

littlee avatar Jun 27 '21 10:06 littlee

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.

LeaVerou avatar Oct 08 '21 09:10 LeaVerou

I'm having the same issue as well. Has anybody found a solution?

honi avatar Nov 30 '21 17:11 honi

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.

ZackPlauche avatar Dec 09 '21 12:12 ZackPlauche

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

chriskoelle avatar Jan 14 '22 19:01 chriskoelle

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

After doing this, the emmet is working but it is giving only some suggestions

kushagra-unorg avatar Jan 31 '23 09:01 kushagra-unorg

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

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

mnzulfahmi17 avatar Feb 24 '23 05:02 mnzulfahmi17

Adding css to the files.associations setting in your settings.json:

} "files.associations": { "*.css": "css" },

jorgeart81 avatar Feb 03 '24 16:02 jorgeart81