Search code examples
cssreactjsjsxstyled-componentsintellisense

No CSS auto-complete with VScode and styled components


I am working with styled-components in a jsx file, when suddenly the auto-completion(emmet?) disappeared. I have the VScode styled-component extension and can't figure out what happened.

it only auto-completes to html properties.

I miss it! and I miss being able to click ctrl+space to see my options

send help.this is how it looks like when trying to add padding

this is how i expect it to work

I have vscode-styled-components extension installed

Also I set

"emmet.triggerExpansionOnTab": true

Solution

  • The same thing happened to me.

    If you're using version 1.77.0, what worked for me was going back to version 1.76.2 of VSCode.

    Look at your version in Help > About

    https://code.visualstudio.com/updates/v1_76