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

This extension disables VS Code's IntelliSense for CSS:

Open twoco opened this issue 3 years ago • 6 comments

When the extension is enabled, it's a pain to write css code. No IntelliSense / no autocomplete / no errors / warnings / etc. Similar as using the Notepad from Windows.

demo

The following is set. But emmet alone is not enough. How to enable IntelliSense?

{
  "emmet.includeLanguages": {
    "postcss": "css"
  }
}

sstools.postcss: v1.0.9 vscode: v1.64.2 (Windows 10)

twoco avatar Feb 21 '22 00:02 twoco

Mee too

kytosai avatar Apr 02 '22 13:04 kytosai

It’s coming back.

jonathantneal avatar Apr 02 '22 16:04 jonathantneal

When? xD I really do depend on it

FrozenAlex avatar Jun 10 '22 10:06 FrozenAlex

This has been an issue from 2019

Any plans on supporting this?

Wiz1991 avatar Aug 04 '22 13:08 Wiz1991

Not sure why this is still an issue... but here's a quick and dirty fix that seems to work well for me.

{
    "files.associations": {
        "*.css": "tailwindcss",
        "*.pcss": "scss"
    },
    "scss.lint.unknownAtRules": "ignore",
    "emmet.includeLanguages": {
        "postcss": "css"
    }
}

This basically makes your editor see "pcss" files as "scss" files... and in my experience just works. image

However... You might as well just disable the extension at this point...

NanoAi avatar Jan 22 '23 10:01 NanoAi

I faced the same problem, and replacing postcss-language with this plugin solved it perfectly!

xiaohk avatar Aug 19 '23 19:08 xiaohk