Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

159
Vistas
How to I solve formatting problem on vscode for react?

I've started watching a React Tutorial.

And I do have problem, vscode doesn't format styled consts. Also if I want to write fs14 or fs It doesn't recommand me anything.

const Container = styled.div`
width: 100%;
height: 100vh;
display: flex;
position: relative;
background-color: coral;

`

const Arrow = styled.div`

    width: 50px;
    height: 50px;
    background-color: #fff7f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: ${(props) => props.direction === "left" && "10px"};
    right: ${(props) => props.direction === "right" && "10px"};
    margin: auto;
`


After I format the file, the Container remains the same. Also If I want to write fs/fs14 for example it doesn't recommand my font-size => font-size: 14;

Help please? :D

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Try installing the styled components extension and see if that solves the problem https://marketplace.visualstudio.com/items?itemName=styled-components.vscode-styled-components

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda