skip to Main Content

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

2

Answers


  1. 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

    Login or Signup to reply.
  2. I also had the same issue
    and I just downgraded the version of vscode-styled-components extension to 1.7.5 and then updated it manually to the current version-1.7.8 and it worked for me.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search