Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

306
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!