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

311
Views
How to get chrome console like quick suggestions for objects properties in vscode

In chrome Devtool selecting an element will give corresponding properties and method applicable on that via a dot(.). But in vscode it gives gibberish. How to get those suggestions of chrome devtool in vscode. I want this

I get this

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

It's not possible, here is why:

Chrome DevTools console executes code in the context of the page as you type so for example it executes Object.keys(formEl.elements) and with the results it can show you that formEl.elements has a post and userName property.

Visual Studio Code only shows you what it can statically analyse, and in this case it analyses that formEl is of type Element and not HTMLFormElement cause it doesn't know that document.querySelector('.form') returns a form element so the only autocomplete suggestions are other symbols used through your code.

One way to to get autocomplete is to use TypeScript and define yourself what type is formEl.

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!