csstools / postcss-language

Support for modern and experimental CSS within Visual Studio Code
80 stars 11 forks source link

emmet not woking well in vscode #9

Open littlee opened 3 years ago

littlee commented 3 years ago

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

image

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

image

LeaVerou commented 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.

honi commented 2 years ago

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

ZackPlauche commented 2 years ago

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.

chriskoelle commented 2 years ago

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

kushagra-unorg commented 1 year ago

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

mnzulfahmi17 commented 1 year ago

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

jorgeart81 commented 9 months ago

Adding cssto the files.associations setting in your settings.json:

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