Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

315
Visualizações
VSCode not suggesting ES6 imports?

When I'm typing the import statement I get suggestions: enter image description here

However, when I move the mouse over the undefined function, I only get the following:

"'setMouseHijack' is not defined. (W117)jshint(W117)"

Without any suggested import.

Am I missing something? Isn't VSCode supposed to suggest me the improvement when I move the mouse over those undefined variables/functions if available to import?

enter image description here

The "Quick fix" won't suggest the import either: enter image description here

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

I ended up solving it by enabling the checkJS flag in VSCode's settings.

enter image description here

Also on the jsconfig.json file:

{
    "compilerOptions": { 
        "checkJs": true,
    },
    "updateImportsOnFileMove": "prompt",
    "include": ["js/**/*"],
}
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda