VScode autocomplete doesn't work for CSS files

Viewed 12362

Autocomplete for CSS is not working in VSCode.

enter image description here

Usually, if I start writing an statement inside a CSS file, VSCode has an intenseness, which suggested all possible options. But as you can see, it doesn't work inside my css file.

Any help?

5 Answers

I had the same issue after I installed the VSCode extension PostCSS Language Support,

I fixed it by disabling the extension.

If you have PostCSS Language Support installed add the following config in your settings.

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

you might have installed some extensions which prevent css form doing autocomplete, uninstalling the latest extensions (from the time it started happening) will resolve your problem

You have to download visual studio code system rather than visual studio code use.... go to official site of visual studio code.... and select an option visual studio code system 64 or 32 bit..... Now you have to run the setup as "Run as administrator"

Related