Search code examples
visual-studio-codestyled-components

Intellisense not working with styled components extension installed


I use this extension normally until today. The auto-complete function is not working. Here is my code.

LoginStyle.js

import styled from "styled-components"

export const Container = styled.div`
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
`

export const GridContainer = styled.div`
    display: grid;
`

My VS Code Version: 1.64.0 vscode-styled-components Version: v1.7.2

Here is screenshot Auto-complete Not Show Up

I tried to find it in the GitHub issue but I cannot fix it.

Very thanks if you can help

Extension Version: Extension Version

package.json: Package.json


Solution

  • This is a known issue.

    There is no official solution for now. A temporary solution is to install the VSCode v1.63 until we get a fix as stated in this comment.

    Had this issue myself today, the temporary solution worked.