VSCode CSS syntax highlighting not working anymore after disabling SASS extension

Viewed 481

The syntax highlighting and the autocomplete completely stopped working.

I've been trying to find the culprit in the settings but nothing seems to revert the default way of working. My current settings below:

{
    "emmet.excludeLanguages": [

        "markdown"
    ],
    "emmet.includeLanguages": {
        "javascript": "javascriptreact"
    },
    "css.hover.documentation": true,
    "[css]": {

        "editor.suggest.insertMode": "replace"
    },
    "css.styleSheets": [
    
    ]
}

enter image description here

Edit: I fixed it. In the settings.json, the files.associations was missing "*.css": "css"

  "files.associations": {
        "*.css": "sass",
        "*.css": "css"
    },
0 Answers
Related