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

312
Vistas
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 Respuestas
Responde la pregunta

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 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